Linux Debian support - How to ignore packages/programs with apt-get?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2006 > How to ignore packages/programs with apt-get?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to ignore packages/programs with apt-get?
ANTant@zimage.com

2006-08-18, 1:14 am

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

2006-08-18, 1:14 pm

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

ANTant@zimage.com

2006-08-18, 7:12 pm

> > Does apt-get have a way to ignore packages/programs that I don't want to
[vbcol=seagreen]
> 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.
( )
JD

2006-08-19, 7:14 am

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.

ANTant@zimage.com

2006-08-20, 1:12 am

JD <jd@something.com> wrote:
> On 2006-08-18, ANTant@zimage.com <ANTant@zimage.com> wrote:
[vbcol=seagreen]
> 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.
( )
JD

2006-08-21, 7:14 am

On 2006-08-20, ANTant@zimage.com <ANTant@zimage.com> wrote:
> JD <jd@something.com> wrote:
>
>
> 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

ANTant@zimage.com

2006-08-21, 7:14 am

> >> > Does apt-get have a way to ignore packages/programs that I don't want to
[vbcol=seagreen]
> 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.
( )
anders.jackson@gmail.com

2006-08-21, 7:13 pm

ANTant@zimage.com wrote:
[vbcol=seagreen]
> 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.

ANTant@zimage.com

2006-08-22, 7:14 am

anders.jackson@gmail.com <anders.jackson@gmail.com> wrote:
> ANTant@zimage.com wrote:
[vbcol=seagreen]
[vbcol=seagreen]
> 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.


[vbcol=seagreen]
> 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.
( )
anders.jackson@gmail.com

2006-08-23, 7:15 am

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

ANTant@zimage.com

2006-08-24, 1:14 am

anders.jackson@gmail.com <anders.jackson@gmail.com> wrote:
> ANTant@zimage.com wrote:
[vbcol=seagreen]
> 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.
( )
TimeTraveler

2006-08-24, 1:14 am

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

2006-08-24, 7:14 am


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 ;-)

ANTant@zimage.com

2006-08-24, 7:13 pm

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



[vbcol=seagreen]
> 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.
( )
ANTant@zimage.com

2006-08-24, 7:13 pm

> > ANTian:/home/ant/download# aptitude install python-glade2
> ...
[vbcol=seagreen]
> 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.
( )
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com