Add config option for listing non-erasable packages
Bug #1046163 reported by
Jan Rękorajski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
New
|
Wishlist
|
Unassigned | ||
PLD Linux |
New
|
Wishlist
|
Unassigned |
Bug Description
I just shoot myself in the foot twice today while uninstalling some libraries on PLD builders.
Poldek happily allowed and carried out uninstalation of rpm and itself.
Please add an option for listing essential, non-erasable packages - something like "hold" for upgrades.
Changed in poldek: | |
importance: | Undecided → Wishlist |
milestone: | none → 0.34.0 |
To post a comment you must log in.
echo rpm >> /etc/rpm/ sysinfo/ Requirename sysinfo/ Requirename
echo poldek >> /etc/rpm/
works fine:
12:17:31 root[load: 0.01]@ppc rpm/sysinfo# chroot /pld sysinfo/ Requirename sysinfo/ Requirename build-4. 5-56 marks pld-builder- chroot- 0.5.20120521- 1 (req rpm-build) build-4. 5-56 marks rpm-build- tools-4. 5-6 (req rpm-build) pearprov- 4.5-56 (req rpm = 4.5-56) 4.5-56 (req rpm = 4.5-56) chroot- 0.5.20120521- 1 poldek-0.30-1.rc3.2 rpm-build-4.5-56 rpm-build- tools-4. 5-6 rpm-javaprov-4.5-56 pearprov- 4.5-56 rpm-pythonprov- 4.5-56 rpm-utils-4.5-56
12:17:56 root[]@ppc /# echo rpm >> /etc/rpm/
12:17:59 root[]@ppc /# echo poldek >> /etc/rpm/
12:18:00 root[]@ppc /# poldek -e rpm
mark rpm-4.5-56
Processing dependencies...
rpm-4.5-56 marks rpm-javaprov-4.5-56 (req rpm = 4.5-56)
rpm-4.5-56 marks rpm-utils-4.5-56 (req rpm = 4.5-56)
rpm-utils-4.5-56 marks rpm-build-4.5-56 (req rpm-utils = 4.5-56)
rpm-
rpm-
rpm-4.5-56 marks poldek-0.30-1.rc3.2 (req rpm >= 4.5-49)
rpm-4.5-56 marks rpm-perlprov-4.5-56 (req rpm = 4.5-56)
rpm-4.5-56 marks rpm-php-
rpm-4.5-56 marks rpm-pythonprov-
There are 10 packages to remove (9 marked by dependencies):
R rpm-4.5-56
D pld-builder-
D rpm-perlprov-4.5-56 rpm-php-
This operation will free 1.8MB of disk space.
Proceed? [N/y] y
Running rpm --erase --root / --noorder...
error: Failed dependencies:
poldek is needed by transaction dependencies
rpm is needed by transaction dependencies
12:18:11 root[]@ppc /#