[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AW: libpam0



You wouldn't by any chance have 'adpkg' installed instead of 'dpkg',
would you?

The problem you are having seems to be that dpkg is trying to
configure each package immediately after unpacking, rather than after
unpacking both of them.

I have no trouble installing both packages with dpkg-1.4.0.8 --- I've
attached a transcript at the end of this message.

> BTW I still think circular dependencies must not exist. If these two
> package cannot do without each other put them into one package. Where's
> the advantage of two packages? I could see advantages with virtual
> packages, but this is none.

The reason for the circular dependencies is that it allows you to
upgrade libpam0 separately from libpam-utils, and therefore have two
different versions of libpam[0-9]+ installed on your system at the
same time.  If I had made them a single package, you wouldn't be able
to have multiple versions installed at the same time, since the files
in libpam-utils would conflict with each other.

$ sudo dpkg --purge libpam libpam-dev libpam-dbg libpam-util libpam0 libpam-doc
dpkg - warning: ignoring request to remove libpam which isn't installed.
dpkg - warning: ignoring request to remove libpam-dev which isn't installed.
dpkg - warning: ignoring request to remove libpam-dbg which isn't installed.
dpkg - warning: ignoring request to remove libpam-util which isn't installed.
dpkg - warning: ignoring request to remove libpam0 which isn't installed.
dpkg - warning: ignoring request to remove libpam-doc which isn't installed.

$ sudo dpkg -i /sedona/archive/mirrors/debian/unstable/binary-i386/libs/libpam_0.50-1.deb 
Password:
(Reading database ... 37598 files and directories currently installed.)
Preparing to replace libpam 0.50-1 (using .../libs/libpam_0.50-1.deb) ...
Unpacking replacement libpam ...
Setting up libpam (0.50-1) ...
ldconfig: warning: can't open /usr/X11R6/lib/libMcTools.so (No such file or directory), skipping
ldconfig: warning: can't open /usr/X11R6/lib/libforms.so.0.81 (No such file or directory), skipping
ldconfig: warning: can't open /usr/X11R6/lib/libforms.so (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libMesaGLw.so.2 (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libpthread.so.0 (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libpthread.so (No such file or directory), skipping

$ sudo dpkg -i /sedona/project/debian/released/pam/libpam0_0.56-1_i386.deb /sedona/project/debian/released/pam/libpam-util_0.56-1_i386.deb 
Selecting previously deselected package libpam0.
dpkg: considering removing libpam in favour of libpam0 ...
dpkg: yes, will remove libpam in favour of libpam0.
(Reading database ... 37598 files and directories currently installed.)
Unpacking libpam0 (from .../pam/libpam0_0.56-1_i386.deb) ...
ldconfig: warning: can't open /usr/X11R6/lib/libMcTools.so (No such file or directory), skipping
ldconfig: warning: can't open /usr/X11R6/lib/libforms.so.0.81 (No such file or directory), skipping
ldconfig: warning: can't open /usr/X11R6/lib/libforms.so (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libMesaGLw.so.2 (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libpthread.so.0 (No such file or directory), skipping
ldconfig: warning: can't open /usr/lib/libpthread.so (No such file or directory), skipping
Selecting previously deselected package libpam-util.
Unpacking libpam-util (from .../libpam-util_0.56-1_i386.deb) ...
Setting up libpam-util (0.56-1) ...
Setting up libpam0 (0.56-1) ...
Installing new version of config file /etc/security/time.conf ...
Installing new version of config file /etc/security/group.conf ...
Thanks, 
 - Klee

Reply to: