Unix Technical Forum

How to ignore packages/programs with apt-get?

This is a discussion on How to ignore packages/programs with apt-get? within the Debian Linux support forums, part of the Debian Linux category; --> anders.jackson@gmail.com <anders.jackson@gmail.com> wrote: > ANTant@zimage.com wrote: > > anders.jackson@gmail.com <anders.jackson@gmail.com> wrote: > > > In this case, you need ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 01-19-2008, 08:57 AM
ANTant@zimage.com
 
Posts: n/a
Default Re: How to ignore packages/programs with apt-get?

anders.jackson@gmail.com <anders.jackson@gmail.com> wrote:
> 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).


Hmm, I use apt-get install <whatever> to install all of my packages. I also use apt-get
upgrade and apt-get dist-upgrade. Isn't that the correct way to install and upgrade?


> 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.


[ran aptitude update command]
Reading package lists... Done
ANTian:/home/ant/download# aptitude upgrade
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:
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-glade2 transcode
0 packages upgraded, 0 newly installed, 108 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 250MB will be freed.
Do you want to continue? [Y/n/?]

# apt-get install python-glade2
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
python-gtk2
The following packages will be REMOVED:
hal-device-manager 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-glade2
1 upgraded, 1 newly installed, 7 to remove and 2 not upgraded.
Need to get 1203kB of archives.
After unpacking 2359kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
ANTian:/home/ant/download# aptitude install python-glade2
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 BROKEN:
python-gtk2 python2.4-gnome2
The following packages are unused and will be REMOVED:
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 will be automatically REMOVED:
python2.3-glade2 python2.4-glade2 python2.4-gtk2
The following packages have been kept back:
pan transcode
The following packages will be REMOVED:
python2.3-glade2 python2.4-glade2 python2.4-gtk2
The following packages will be upgraded:
python-glade2
1 packages upgraded, 1 newly installed, 111 to remove and 2 not upgraded.
Need to get 1203kB of archives. After unpacking 248MB will be freed.
The following packages have unmet dependencies:
python2.4-gnome2: Depends: python2.4-gtk2 (>= 2.4) but it is not installable
python-gtk2: Conflicts: python2.3-gtk2 but 2.8.2-3 is installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
python-glade2 [2.8.2-3 (now)]
python-gtk2 [Not Installed]
python2.3-glade2 [2.8.2-3 (now)]
python2.4-glade2 [2.8.2-3 (now)]
python2.4-gtk2 [2.8.2-3 (now)]

Score is 42

Accept this solution? [Y/n/q/?]


I don't think they're ready.
--
"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.
( )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-19-2008, 08:57 AM
TimeTraveler
 
Posts: n/a
Default Re: How to ignore packages/programs with apt-get?

On Wednesday 23 August 2006 19:42 a poster that claims to be ANTant@zimage.com
wrote:


> Score is 42


Ah. The answer to life, the Universe and everything.

> Accept this solution? [Y/n/q/?]
>
>
> I don't think they're ready.


--
Regards,
TimeTraveler

One good thing about music,
when it hits you, you feel no pain.
- Bob Marley
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-19-2008, 08:57 AM
anders.jackson@gmail.com
 
Posts: n/a
Default Re: How to ignore packages/programs with apt-get?


ANTant@zimage.com wrote:
> anders.jackson@gmail.com <anders.jackson@gmail.com> wrote:


> ANTian:/home/ant/download# aptitude install python-glade2
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information

....
> 1 packages upgraded, 1 newly installed, 111 to remove and 2 not upgraded.
> Need to get 1203kB of archives. After unpacking 248MB will be freed.
> The following packages have unmet dependencies:
> python2.4-gnome2: Depends: python2.4-gtk2 (>= 2.4) but it is not installable
> python-gtk2: Conflicts: python2.3-gtk2 but 2.8.2-3 is installed.
> Resolving dependencies...
> The following actions will resolve these dependencies:
>
> Keep the following packages at their current version:
> python-glade2 [2.8.2-3 (now)]
> python-gtk2 [Not Installed]
> python2.3-glade2 [2.8.2-3 (now)]
> python2.4-glade2 [2.8.2-3 (now)]
> python2.4-gtk2 [2.8.2-3 (now)]
>
> Score is 42
>
> Accept this solution? [Y/n/q/?]
>
>
> I don't think they're ready.


You are prob. right. Needs some transaction packages that can be
removed later (like tranaction packages for python2.4-gtk2).

I usally need to manually solve things like these when packages get
reorganized, like python is now.
So you should manually remove python2.3-glade2, python2.4-glade2 and
python2.4-gtk2 and also install python-gtk2 in one go.

This is the type of problems you have to solve when you don't use
stable ;-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-19-2008, 08:57 AM
ANTant@zimage.com
 
Posts: n/a
Default Re: How to ignore packages/programs with apt-get?

TimeTraveler <tardisREMOVE@heartsofmusic.com> wrote:
> On Wednesday 23 August 2006 19:42 a poster that claims to be ANTant@zimage.com
> wrote:



> > Score is 42


> Ah. The answer to life, the Universe and everything.


Haha. What does that mean to my dilemma though? [grin] That upgrade will be life?
--
"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.
( )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-19-2008, 08:57 AM
ANTant@zimage.com
 
Posts: n/a
Default Re: How to ignore packages/programs with apt-get?

> > ANTian:/home/ant/download# aptitude install python-glade2
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading extended state information

> ...
> > 1 packages upgraded, 1 newly installed, 111 to remove and 2 not upgraded.
> > Need to get 1203kB of archives. After unpacking 248MB will be freed.
> > The following packages have unmet dependencies:
> > python2.4-gnome2: Depends: python2.4-gtk2 (>= 2.4) but it is not installable
> > python-gtk2: Conflicts: python2.3-gtk2 but 2.8.2-3 is installed.
> > Resolving dependencies...
> > The following actions will resolve these dependencies:
> >
> > Keep the following packages at their current version:
> > python-glade2 [2.8.2-3 (now)]
> > python-gtk2 [Not Installed]
> > python2.3-glade2 [2.8.2-3 (now)]
> > python2.4-glade2 [2.8.2-3 (now)]
> > python2.4-gtk2 [2.8.2-3 (now)]
> >
> > Score is 42
> >
> > Accept this solution? [Y/n/q/?]
> >
> >
> > I don't think they're ready.


> You are prob. right. Needs some transaction packages that can be
> removed later (like tranaction packages for python2.4-gtk2).


> I usally need to manually solve things like these when packages get
> reorganized, like python is now.
> So you should manually remove python2.3-glade2, python2.4-glade2 and
> python2.4-gtk2 and also install python-gtk2 in one go.


# apt-get remove python2.3-glade2 python2.4-glade2 python2.4-gtk2
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
gnome-applets gnome-control-center gnome-menus gnome-panel gnome-session
gnome-terminal
hal-device-manager nautilus nautilus-cd-burner python-glade2 python2.3-glade2
python2.4-glade2
python2.4-gnome2 python2.4-gtk2
0 upgraded, 0 newly installed, 14 to remove and 2 not upgraded.
Need to get 0B of archives.
After unpacking 14.9MB disk space will be freed.


# aptitude remove python2.3-glade2 python2.4-glade2 python2.4-gtk2
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 BROKEN:
hal-device-manager python-glade2 python2.4-gnome2
The following packages are unused and will be REMOVED:
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 transcode
The following packages will be REMOVED:
python2.3-glade2 python2.4-glade2 python2.4-gtk2
0 packages upgraded, 0 newly installed, 111 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 252MB will be freed.
The following packages have unmet dependencies:
python-glade2: Depends: python2.3-glade2 (= 2.8.2-3) but it is not installable
hal-device-manager: Depends: python2.4-glade2 but it is not installable
python2.4-gnome2: Depends: python2.4-gtk2 (>= 2.4) but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
python2.3-glade2 [2.8.2-3 (now)]
python2.4-glade2 [2.8.2-3 (now)]
python2.4-gtk2 [2.8.2-3 (now)]

Score is -97

Accept this solution? [Y/n/q/?] q


# apt-get install python-gtk2
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
python-glade2
The following packages will be REMOVED:
hal-device-manager 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-glade2
1 upgraded, 1 newly installed, 7 to remove and 2 not upgraded.
Need to get 1203kB of archives.
After unpacking 2359kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.


# aptitude install python-gtk2
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 BROKEN:
python-gtk2 python2.4-glade2 python2.4-gnome2
The following packages are unused and will be REMOVED:
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 will be automatically REMOVED:
python2.4-gtk2
The following packages have been kept back:
pan python-glade2 transcode
The following packages will be REMOVED:
python2.4-gtk2
0 packages upgraded, 1 newly installed, 109 to remove and 3 not upgraded.
Need to get 1182kB of archives. After unpacking 248MB will be freed.
The following packages have unmet dependencies:
python2.4-glade2: Depends: python2.4-gtk2 (= 2.8.2-3) but it is not installable
python2.4-gnome2: Depends: python2.4-gtk2 (>= 2.4) but it is not installable
python-gtk2: Conflicts: python2.3-gtk2 but 2.8.2-3 is installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
python-gtk2 [Not Installed]
python2.4-gtk2 [2.8.2-3 (now)]

Score is 10

Accept this solution? [Y/n/q/?] q


Hmm, still too many to removed. Eh, I will just leave them alone. Hopefully, they
will be upgraded. I think I still need Python v2.3 for one of my old IRC chat bots
(howie).


> This is the type of problems you have to solve when you don't use
> stable ;-)


True, but how often do programs get updated from stable? I like to get the latest
versions of programs. Not the development ones though. I am using the sources.list
from my Debian friend who introduced me to Debian/Linux.
--
"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.
( )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com