Since I'm no hp fan I always uninstall everything I've found that's related to hp like hplip and hpijs and libhpmud0 but every single time I do a dist-upgrade it tries to install the newest version of those packages. How can I prevent Lucid from installing them once again?
Announcement
Collapse
No announcement yet.
Stop packages from installing on my system
Collapse
This topic is closed.
X
X
-
Re: Stop packages from installing on my system
Pinning
Earlier > Topic: how to add exception to dist-upgrade (Solved)
Maybe if you pin the packages to the non existing version ?
Example:
Lucid has: 2vcard (0.5-3 Ubuntu:10.04/lucid)
Writing a pin file:
Code:kdesudo kate /etc/apt/preferences
Code:Package: 2vcard Pin: version 0.0 Pin-Priority: 1001
Updating the package database:
Code:sudo apt-get update
Code:sudo apt-get -s install 2vcard
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 2vcard is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 2vcard has no installation candidate
Recommended packages installed by default
> 9.04 Releasenotes
Recommended packages installed by default
In accordance with the Debian Policy Manual (which says "The 'Recommends' field should list packages that would be found together with this one in all but unusual installations"), the package management system now installs packages listed in the Recommends: field of other installed packages as well as Depends: by default. If you want to avoid this for specific packages, use apt-get --no-install-recommends; if you want to make this permanent, set APT::Install-Recommends "false"; in /etc/apt/apt.conf. Be aware that this may result in missing features in some programs.
Use the grep
You could grep the apt-show-version output and remove the unwanted packages. An example > A way to do the upgrade and left the KDE 4.3 Beta1 packages to wait.
Use the graphical frontend
Use a graphical package manager ( > FAQ: Package Managers) and handpick the wanted packages to upgrade/install.Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
-
Re: Stop packages from installing on my system
In Synaptic, you can simply select the package in question and then select "Package > Lock version".
To prevent installation of recommended packages as dependencies, go to "Settings > Preferences" and uncheck "Consider recommended packages as dependencies".
If you want to see what package some package is pulled in by, select the package, change to the "Dependencies" tab and select "Dependants" from the list.Shinda Sekai Sensen<br /><br />Kubuntu Maverick RC x64 w/ Kde 4.5.2 (main)<br />Kubuntu 10.04 x64 w/ Kde 4.5.1to be wiped, no point in keeping it any longer
- Top
- Bottom
Comment
-
Re: Stop packages from installing on my system
I guess it should be /etc/apt/apt.conf.d/some file since /etc/apt/apt.conf doesn't exist in Lucid...Multibooting: Kubuntu Noble 24.04
Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
Win XP, 7 & 10 sadly
Using Linux since June, 2008
- Top
- Bottom
Comment
Comment