vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Does apt-get have a way to ignore packages/programs that I don't want to download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer one under development. Thank you in advance. -- "In a battle between elephants, the ants get squashed." --Thailand /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / Please remove ANT if replying by e-mail. ( ) |
| |||
| ANTant@zimage.com wrote: > Does apt-get have a way to ignore packages/programs that I don't want to > download/install/upgrade? No, apt-get can't do that for you. What you want is to put a package "on hold" so that it isn't automaticly selected for upgrade by any debian package tool, like apt-get. And that you do with aptitude. So if you as root does this aptitude hold pamp it should set status hold on package pamp. Then apt-get will not upgrade if you dont tell it to. I would use aptitude before I use dpkg, apt-get or dselect . It's a much better program to handle different packages. In script I would use apt-get or aptitude. > Thank you in advance. Man pages are your friend Good luck. /Jxn |
| |||
| > > Does apt-get have a way to ignore packages/programs that I don't want to > > download/install/upgrade? > No, apt-get can't do that for you. > What you want is to put a package "on hold" so that it isn't > automaticly selected for > upgrade by any debian package tool, like apt-get. And that you do with > aptitude. > So if you as root does this > aptitude hold pamp I tried that and got: # aptitude hold pan Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done The following packages are unused and will be REMOVED: aalib1 akode artsbuilder aspell bug-buddy cvs dia-libs edict esound file-roller gcalctool gconf-editor gnome-cups-manager gnome-games-data gnome-nettool gnome-system-tools gnome-themes gnome-themes-extras gnome-utils gnupg-agent gnupg2 gpdf gpgsm gstreamer0.8-misc gstreamer0.8-plugin-apps gstreamer0.8-tools gtk2-engines-pixbuf gtk2-engines-spherecrystal gtkhtml3.2 gucharmap imlib-base imlib11 kanjidic kaudiocreator kcoloredit kdeaddons-kfile-plugins kdeartwork-misc kdeartwork-style kdeartwork-theme-icon kdeartwork-theme-window kdegraphics-kfile-plugins kdemultimedia-kappfinder-data kdemultimedia-kfile-plugins kdepim-kio-plugins kdvi kfilereplace kgamma kicker-applets kiconedit kimagemapeditor klettres-data klinkstatus kmid kmix kmoon kmrml knewsticker-scripts kolourpaint kommander konq-plugins korn kpdf kpovmodeler krec kruler kscd kscreensaver kscreensaver-xsavers ksig ksnapshot ksvg ktnef ktux kuickshow kview kviewshell kxsldbg libboost-python1.32.0 libconvert-binhex-perl libfinance-quote-perl libgal2.2-1 libgal2.2-common libgda2-3 libgda2-common libgle3 libgstreamer-gconf0.8-0 libgstreamer-plugins0.8-0 libgstreamer0.8-0 libgtkhtml3.2-11 libgtksourceview-common libhtml-tableextract-perl libio-stringy-perl libksba8 libmime-perl libnetpbm10 libnews-nntpclient-perl libpth2 libsamplerate0 libtiff-tools netpbm noatun noatun-plugins openoffice.org pinentry-qt synaptic vim-common vino xscreensaver-gl zenity The following packages have been kept back: pan python python-glade2 python-minimal python-uno transcode 0 packages upgraded, 0 newly installed, 109 to remove and 6 not upgraded. Need to get 0B of archives. After unpacking 250MB will be freed. Do you want to continue? [Y/n/?] n Abort. # apt-get upgrade Reading package lists... Done Building dependency tree... Done The following packages have been kept back: pan python python-glade2 python-minimal python-uno transcode 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. I can't upgrade the othber packages at the moment, but that's OK. I do want to ignore Pan. > it should set status hold on package pamp. Then apt-get will not > upgrade if you dont tell it to. How would I revert the request then if I change my mind? > I would use aptitude before I use dpkg, apt-get or dselect . It's a > much better program to handle different packages. In script I would > use apt-get or aptitude. Ah, I always used apt-get. Sometimes dpkg. > Man pages are your friend Yeah, but I didn't see anything about ignoring packages unless I searched badly. -- "In a battle between elephants, the ants get squashed." --Thailand /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / Please remove ANT if replying by e-mail. ( ) |
| |||
| On 2006-08-18, ANTant@zimage.com <ANTant@zimage.com> wrote: > Does apt-get have a way to ignore packages/programs that I don't want to > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer > one under development. echo "pan hold"|dpkg --set-selections will do the trick. Unhold will reverse it. |
| |||
| JD <jd@something.com> wrote: > On 2006-08-18, ANTant@zimage.com <ANTant@zimage.com> wrote: > > Does apt-get have a way to ignore packages/programs that I don't want to > > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer > > one under development. > echo "pan hold"|dpkg --set-selections > will do the trick. Unhold will reverse it. I must be doing this wrong or something: ANTian:/home/ant/download# echo "pan hold"|dpkg --set-selections ANTian:/home/ant/download# apt-get upgrade Reading package lists... Done Building dependency tree... Done The following packages have been kept back: pan python python-glade2 python-minimal python-uno transcode 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. -- "In a battle between elephants, the ants get squashed." --Thailand /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / Please remove ANT if replying by e-mail. ( ) |
| |||
| On 2006-08-20, ANTant@zimage.com <ANTant@zimage.com> wrote: > JD <jd@something.com> wrote: >> On 2006-08-18, ANTant@zimage.com <ANTant@zimage.com> wrote: >> > Does apt-get have a way to ignore packages/programs that I don't want to >> > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer >> > one under development. > >> echo "pan hold"|dpkg --set-selections >> will do the trick. Unhold will reverse it. > > I must be doing this wrong or something: > > ANTian:/home/ant/download# echo "pan hold"|dpkg --set-selections > ANTian:/home/ant/download# apt-get upgrade > Reading package lists... Done > Building dependency tree... Done > The following packages have been kept back: > pan python python-glade2 python-minimal python-uno transcode > 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. Looks good to me... You may like to upgrade python apt-get install python python-glade2 python-minimal python-uno transcode |
| |||
| > >> > Does apt-get have a way to ignore packages/programs that I don't want to > >> > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer > >> > one under development. > > > >> echo "pan hold"|dpkg --set-selections > >> will do the trick. Unhold will reverse it. > > > > I must be doing this wrong or something: > > > > ANTian:/home/ant/download# echo "pan hold"|dpkg --set-selections > > ANTian:/home/ant/download# apt-get upgrade > > Reading package lists... Done > > Building dependency tree... Done > > The following packages have been kept back: > > pan python python-glade2 python-minimal python-uno transcode > > 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. > Looks good to me... > You may like to upgrade python > apt-get install python python-glade2 python-minimal python-uno transcode Uh, it looks the same like before. I don't want Pan to be shown. I want it to pretend that I don't have it so it won't upgrade. As for python python-glade2 python-minimal python-uno transcode, I can't: # apt-get install python python-glade2 python-minimal python-uno Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: python-gtk2 Suggested packages: python-doc python-tk python-profiler The following packages will be REMOVED: configlet-frontends hal-device-manager python-configlet python2.3-configlet python2.3-glade2 python2.3-gnome2 python2.3-gtk2 python2.4-glade2 python2.4-gnome2 python2.4-gtk2 The following NEW packages will be installed: python-gtk2 The following packages will be upgraded: python python-glade2 python-minimal python-uno 4 upgraded, 1 newly installed, 10 to remove and 3 not upgraded. Need to get 1674kB of archives. After unpacking 2781kB disk space will be freed. Do you want to continue [Y/n]? # apt-get install transcode Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: transcode: Depends: libdps1 (> 4.1.0) but it is not going to be installed Depends: libmagick6 but it is not going to be installed E: Broken packages # apt-get install transcode libdps1 libmagick6 Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libdps1: Depends: xfree86-common but it is not going to be installed E: Broken packages # apt-get install transcode libdps1 libmagick6 xfree86-common Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libdps1: Depends: libice6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libsm6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxext6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxt6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed libmagick6: Depends: libice6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libsm6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libx11-6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxext6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxt6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed transcode: Depends: aalib1 (>= 1.2) Depends: libaudio2 but it is not going to be installed Depends: libgtk1.2 (>= 1.2.10-4) but it is not going to be installed Depends: libice6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libsm6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libx11-6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxaw7 (> 4.1.0) but it is not going to be installed Depends: libxext6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxi6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxpm4 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxt6 but it is not going to be installed or xlibs (> 4.1.0) but it is not going to be installed Depends: libxv1 but it is not going to be installed Depends: xterm but it is not going to be installed or x-terminal-emulator E: Broken packages I have to wait for the other packages to be upgraded first. -- "Ever watch ants just crawling around? They walk in that single straight line, a long, a long, long mile of ants. Sometimes they will walk over and pick up their dead friends and carry those around. I'm pretty sure it's because they can get in the carpool lane and pass up that line." --Ellen DeGeneres /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / Please remove ANT if replying by e-mail. ( ) |
| |||
| ANTant@zimage.com wrote: > > >> > Does apt-get have a way to ignore packages/programs that I don't want to > > >> > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer > > >> > one under development. > > > > > >> echo "pan hold"|dpkg --set-selections > > >> will do the trick. Unhold will reverse it. > > > > > > I must be doing this wrong or something: > > > > > > ANTian:/home/ant/download# echo "pan hold"|dpkg --set-selections > > > ANTian:/home/ant/download# apt-get upgrade > > > Reading package lists... Done > > > Building dependency tree... Done > > > The following packages have been kept back: > > > pan python python-glade2 python-minimal python-uno transcode > > > 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. > Uh, it looks the same like before. I don't want Pan to be shown. I want it to pretend that I > don't have it so it won't upgrade. apt-get tells you what is put on hold. So you wont forget it. So, it is as it should. Just ignor message, as it tells you what you want, to have pan on hold. > As for python python-glade2 python-minimal python-uno transcode, I can't: > > # apt-get install python python-glade2 python-minimal python-uno > Reading package lists... Done > Building dependency tree... Done > The following extra packages will be installed: > python-gtk2 > Suggested packages: > python-doc python-tk python-profiler > The following packages will be REMOVED: > configlet-frontends hal-device-manager python-configlet python2.3-configlet > python2.3-glade2 python2.3-gnome2 > python2.3-gtk2 python2.4-glade2 python2.4-gnome2 python2.4-gtk2 > The following NEW packages will be installed: > python-gtk2 > The following packages will be upgraded: > python python-glade2 python-minimal python-uno > 4 upgraded, 1 newly installed, 10 to remove and 3 not upgraded. All those python2.3-glade2 and python2.4-glade2 etc is replaced with python-glade2. So all those old version-dependent packages will go away. There MIGHT be some packages that has not gone through the transaktion yet, byt they will. Check the bug site, and file a bug if they dont have changed dependances accordingly. In this case, you need to upgrade configlet-frontends and hal-device-manager. And also install python-configlet, python-glade2, python-gnome2 python-gtk2 and remove all version dependant python-packages. |
| |||
| anders.jackson@gmail.com <anders.jackson@gmail.com> wrote: > ANTant@zimage.com wrote: > > > >> > Does apt-get have a way to ignore packages/programs that I don't want to > > > >> > download/install/upgrade? Right now, I am using an old version of Pan. I do not like the newer > > > >> > one under development. > > > > > > > >> echo "pan hold"|dpkg --set-selections > > > >> will do the trick. Unhold will reverse it. > > > > > > > > I must be doing this wrong or something: > > > > > > > > ANTian:/home/ant/download# echo "pan hold"|dpkg --set-selections > > > > ANTian:/home/ant/download# apt-get upgrade > > > > Reading package lists... Done > > > > Building dependency tree... Done > > > > The following packages have been kept back: > > > > pan python python-glade2 python-minimal python-uno transcode > > > > 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. > > Uh, it looks the same like before. I don't want Pan to be shown. I want it to pretend that I > > don't have it so it won't upgrade. > apt-get tells you what is put on hold. So you wont forget it. So, it > is as it should. Just ignor message, as it tells you what you want, to > have pan on hold. Oh. I see. That was strange to me. > > As for python python-glade2 python-minimal python-uno transcode, I can't: > > > > # apt-get install python python-glade2 python-minimal python-uno > > Reading package lists... Done > > Building dependency tree... Done > > The following extra packages will be installed: > > python-gtk2 > > Suggested packages: > > python-doc python-tk python-profiler > > The following packages will be REMOVED: > > configlet-frontends hal-device-manager python-configlet python2.3-configlet > > python2.3-glade2 python2.3-gnome2 > > python2.3-gtk2 python2.4-glade2 python2.4-gnome2 python2.4-gtk2 > > The following NEW packages will be installed: > > python-gtk2 > > The following packages will be upgraded: > > python python-glade2 python-minimal python-uno > > 4 upgraded, 1 newly installed, 10 to remove and 3 not upgraded. > All those python2.3-glade2 and python2.4-glade2 etc is replaced with > python-glade2. > So all those old version-dependent packages will go away. There MIGHT > be some packages that has not gone through the transaktion yet, byt > they will. Check the bug site, and file a bug if they dont have > changed dependances accordingly. > In this case, you need to upgrade configlet-frontends and > hal-device-manager. > And also install python-configlet, python-glade2, python-gnome2 > python-gtk2 and remove all version dependant python-packages. Yeah, it has been a few weeks. Sometimes they are slow. -- "Ever watch ants just crawling around? They walk in that single straight line, a long, a long, long mile of ants. Sometimes they will walk over and pick up their dead friends and carry those around. I'm pretty sure it's because they can get in the carpool lane and pass up that line." --Ellen DeGeneres /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / Please remove ANT if replying by e-mail. ( ) |
| ||||
| ANTant@zimage.com wrote: > anders.jackson@gmail.com <anders.jackson@gmail.com> wrote: > > In this case, you need to upgrade configlet-frontends and > > hal-device-manager. > > And also install python-configlet, python-glade2, python-gnome2 > > python-gtk2 and remove all version dependant python-packages. > > Yeah, it has been a few weeks. Sometimes they are slow. If you have selected a package to install, it will not remove so that a new package can be automaticly installed. You have to remove them yourself. If it has been installed as a dependecie of another package (automaticly installed), it will be removed with that package that installed it (if no other package needs it). apt-get -u install python2.4-gtk2- python-gtk2 should work, as you remove package if you put a "-" after the package name (not tested, its all from memory, check with man pages). Or use aptitude, as it is good in assisting you handling stuff like this. Good luck /Jxn |