[solved] Trouble with package management after using apt-mark
silver.bullet at zoho.com
silver.bullet at zoho.com
Sun Sep 6 10:29:29 UTC 2015
Hi,
to be able to execute a dist-upgrade without --no-install-recommends, I
build and installed a grub-pc dummy package.
In this case executing it with --no-install-recommends was possible
too, since other packages than the kernel packages didn't try to
install recommended packages, but in generell I want to be able to
upgrade without installing recommended packages for some packages,
while for other packages recommended packages should be installed.
Just in case I also build 2 other packages with software I never want
to be installed.
That Wily's synaptic marked packages with a "!" seems to replace the "*"
for available upgrades at the moment. Maybe another bug for synaptic.
# ls -hAl
total 12K
-rw-r--r-- 1 root root 185 Sep 6 11:40 grub-pc
-rw-r--r-- 1 root root 182 Sep 6 11:40 gvfs
-rw-r--r-- 1 root root 188 Sep 6 11:40 pulseaudio
# cat grub-pc
Priority: optional
Standards-Version: 3.9.2
Package: grub-pc
Version: 2015:09-06-moonstudio
Maintainer: Weremouse <silver.bullet at zoho.com>
Architecture: all
Description: Dummy package
# equivs-build grub-pc; equivs-build gvfs; equivs-build pulseaudio
[snip]
# ls -hog
total 24K
-rw-r--r-- 1 185 Sep 6 11:40 grub-pc
-rw-r--r-- 1 2.0K Sep 6 11:41 grub-pc_09-06-moonstudio_all.deb
-rw-r--r-- 1 182 Sep 6 11:40 gvfs
-rw-r--r-- 1 2.0K Sep 6 11:41 gvfs_09-06-moonstudio_all.deb
-rw-r--r-- 1 188 Sep 6 11:40 pulseaudio
-rw-r--r-- 1 2.0K Sep 6 11:41 pulseaudio_09-06-moonstudio_all.deb
# dpkg -i *_09-06-moonstudio_all.deb
[snip]
# apt-get update
[snip]
# apt-get dist-upgrade
[snip]
# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# synaptic
[snip]
Everything is ok now. I just wonder if Ubuntu will automatically remove
the oldest kernel that belongs to the meta package, as soon as a second
upgrade will install the third kernel that belongs to the meta package.
Regards,
Ralf
More information about the ubuntu-users
mailing list