[th] coreutils instaluje się poraz n-ty

Paweł Kośka pawel w artfan.net
Pią, 20 Mar 2009, 10:32:10 CET


Dnia czwartek, 5 lutego 2009, Paweł Zuzelski napisał:
> Witam, dzisiejsza instalacja th{,-ready,-test}.
>
> Z jakiegoś powodu rpm zawzięcie twierdzi, że coreutils nie jest
> zainstalowane. W związku z tym przy instalacji poldkiem dowolnego pakietu
> instaluje coreutils poraz n-ty.

Ja mam podobny problem na Ti:

[root w nu_milva /tmp]# mkdir /tmp/pld-ti
[root w nu_milva /tmp]# poldek --install-dist /tmp/pld-ti/ login pwdutils bash 
udev syslog-ng poldek
Loading [pndir]titanium...
Loading [pndir]titanium...
9066 packages read
Processing dependencies...

Cały log:
http://pld.pastebin.com/f21afdcd

Pomijam już wszystkie blędy które były po drodze.... 


No i na koniec robię coś takiego:
[root w nu_milva /tmp]# cp /etc/resolv.conf /tmp/pld-ti/etc/
[root w nu_milva /tmp]# mount --bind /dev/ /tmp/pld-ti/dev/
[root w nu_milva /tmp]# chroot /tmp/pld-ti/
[root w nu_milva /]# poldek --upa
...

[root w nu_milva /]# poldek
Loading [pndir]titanium...
Loading [pndir]titanium...
9066 packages read
Loading [rpmdb]/var/lib/rpm...
67 packages loaded

Welcome to the poldek shell mode. Type "help" for help with commands.

poldek:/all-avail> install openssh-server-5.1p1-5.x86_64
Processing dependencies...
openssh-server-5.1p1-5.x86_64 marks coreutils-6.12-3.x86_64 (cap /bin/id)
 coreutils-6.12-3.x86_64 marks pam-libs-1.0.1-3.x86_64 (cap libpam.so.0()
(64bit))
openssh-server-5.1p1-5.x86_64 marks login-2.14.1-1.x86_64 (cap /bin/login)
openssh-server-5.1p1-5.x86_64 marks openssh-5.1p1-5.x86_64 (cap /etc/ssh)
Package openssh-5.1p1-5.x86_64 suggests installation of:
1. openssh-blacklist
2. xorg-app-xauth
Try to install them? (y - all, n - nothing, s - select some of)? [N/y/s] n
openssh-server-5.1p1-5.x86_64 marks libcom_err-1.41.3-1.x86_64 (cap 
libcom_err.so.2()(64bit))
openssh-server-5.1p1-5.x86_64 marks libwrap-libs-7.6-43.x86_64 (cap 
libwrap.so.0()(64bit))
There are 7 packages to install (6 marked by dependencies):
I openssh-server-5.1p1-5.x86_64
D coreutils-6.12-3.x86_64, libcom_err-1.41.3-1.x86_64, 
libwrap-libs-7.6-43.x86_64, login-2.14.1-1.x86_64, openssh-5.1p1-5.x86_64,
D pam-libs-1.0.1-3.x86_64
Need to get 3.7MB of archives (3.7MB to download).
After unpacking 13.8MB will be used.
Retrieving titanium::pam-libs-1.0.1-3.x86_64.rpm...
.............................. 100.0% [153.8K (153.8K/s)]
Retrieving titanium::coreutils-6.12-3.x86_64.rpm...
.............................. 100.0% [3.0M (744.5K/s)]
Retrieving titanium::libcom_err-1.41.3-1.x86_64.rpm...
.............................. 100.0% [8.4K (8.4K/s)]
Retrieving titanium::libwrap-libs-7.6-43.x86_64.rpm...
.............................. 100.0% [17.0K (17.0K/s)]
Retrieving titanium::login-2.14.1-1.x86_64.rpm...
.............................. 100.0% [47.4K (47.4K/s)]
Retrieving titanium::openssh-5.1p1-5.x86_64.rpm...
.............................. 100.0% [209.8K (209.8K/s)]
Retrieving titanium::openssh-server-5.1p1-5.x86_64.rpm...
.............................. 100.0% [242.0K (224.8K/s)]
Executing rpm --upgrade -vh --root /...
error: failed to open /etc/mtab: No such file or directory
Preparing...                ########################################### [100%]
   1:pam-libs               ########################################### [ 14%]
   2:coreutils              warning: /etc/DIR_COLORS created 
as /etc/DIR_COLORS.rpmnew
warning: /etc/pam.d/runuser created as /etc/pam.d/runuser.rpmnew
warning: /etc/pam.d/runuser-l created as /etc/pam.d/runuser-l.rpmnew
warning: /etc/pam.d/su created as /etc/pam.d/su.rpmnew
warning: /etc/pam.d/su-l created as /etc/pam.d/su-l.rpmnew
########################################### [ 29%]
   3:login                  warning: /etc/pam.d/login created 
as /etc/pam.d/login.rpmnew
warning: /etc/security/blacklist.login created 
as /etc/security/blacklist.login.rpmnew
########################################### [ 43%]
   4:openssh                ########################################### [ 57%]
   5:libwrap-libs           ########################################### [ 71%]
   6:libcom_err             ########################################### [ 86%]
Adding user sshd UID=40.
   7:openssh-server         ########################################### [100%]
Run "/sbin/service sshd start" to start openssh daemon.
poldek:/all-avail>
Writing /root/.poldek-cache/packages.rpmdbcache.var.lib.rpm.gz...


czemu on mi ponownie instaluje coreutils i login? wtf?

-- 
Pozdrawiam,
Paweł


Więcej informacji o liście dyskusyjnej pld-users-pl