I did an alien install of a new kompozer build (64 bit) because while updating my website kompozer 7.10 kept crashing while changing fonts. Update wants to install the repo version which I didn't think would happen and subsequently hoses my kompozer 8 install. Where is the file to blacklist kompozer from updating? thanks
-
ALLurGroceries Vegan Vermin Super Moderator
If you're using Synaptic find the package with Ctrl+F, click it to select and go to the Package menu and select Lock Version.
You can also do it from the command line with
Change hold to unhold to undo it.Code:sudo aptitude hold packagename
-
Gracias !! That was I was looking for. In Slackware, it's a blacklist command...never done in a 'buntu. thanks again !!
EDIT: that works for aptitude and synaptic...but apt still wants to downgrade it to repo version....know this one? -
ALLurGroceries Vegan Vermin Super Moderator
Ah, sorry. Apt requires using the old way, which is:
Code:echo "packagename hold" | sudo dpkg --set-selections
-
Good man....Muchos Gracias Senor !! That kept it back from upgrading.
+1 no one seems to rep anymore around here
-
ALLurGroceries Vegan Vermin Super Moderator
Hey thanks for the rep
To unhold a package with apt:
To list which packages are on hold:Code:echo "packagename install" | sudo dpkg --set-selections
The same, for aptitude:Code:dpkg --get-selections | grep hold
Code:aptitude search ~ahold
-
Man shows how behind I am, wish I could understand those commands.
-
ALLurGroceries Vegan Vermin Super Moderator
Here's a summary...
| means 'pipe', send the output (STDOUT) of one program to the input (STDIN) of the next.
grep searches for patterns in a file, or stdin if no file is specified.
dpkg is the package utility, apt is a frontend to dpkg so we use dpkg to prevent apt from updating certain packages in this case.
From the dpkg man page (type man dpkg to read the full page):
The aptitude commands should be self-expanatory. For the last one which searches for packages on hold, see file:///usr/share/doc/aptitude/html/en/ch02s03s05.html and notice:
where to blacklist a program from updating /jaunty
Discussion in 'Linux Compatibility and Software' started by theZoid, Aug 16, 2009.