LinuxForum.Fans
Тема

Не ставит пакет udev - замкнутый круг

Автор: santic 43 сообщений 8151 просмотров
#61211
text
archie@test:~$ su root
Password:
test:/home/archie# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  consolekit: Breaks: udev (< 147) but 0.125-7+lenny1 is installed
  libudev0: Depends: udev (= 158-1) but 0.125-7+lenny1 is installed
E: Unmet dependencies. Try using -f.
test:/home/archie#
#61212

Покажите Ваш sources.list

#61215

На данный момент sources.list таков у меня :

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 NETINST Binary-1 20090413-22:27]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 NETINST Binary-1 20090413-22:27]/ lenny main

deb [url]ftp://85.142.128.7/debian[/url] squeeze main contrib non-free

#deb http://security.debian.org/ lenny/updates main
#deb-src http://security.debian.org/ lenny/updates main

Сейчас планирую изменить его до следующего вида и попробовать apt-get update, а затем apt-get dist-upgrade. :

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 NETINST Binary-1 20090413-22:27]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 NETINST Binary-1 20090413-22:27]/ lenny main

deb [url]ftp://85.142.128.7/debian[/url] lenny main contrib non-free

#deb http://security.debian.org/ lenny/updates main
#deb-src http://security.debian.org/ lenny/updates main

И вот то, что вышло из всего этого:

test:/home/archie# apt-get update
Get:1 [url]ftp://85.142.128.7[/url] lenny Release.gpg [1033B]
Get:2 [url]ftp://85.142.128.7[/url] lenny/main Translation-en_US
Ign [url]ftp://85.142.128.7[/url] lenny/main Translation-en_US
Get:3 [url]ftp://85.142.128.7[/url] lenny/contrib Translation-en_US
Ign [url]ftp://85.142.128.7[/url] lenny/contrib Translation-en_US
Get:4 [url]ftp://85.142.128.7[/url] lenny/non-free Translation-en_US
Ign [url]ftp://85.142.128.7[/url] lenny/non-free Translation-en_US
Get:5 [url]ftp://85.142.128.7[/url] lenny Release [73.8kB]
Get:6 [url]ftp://85.142.128.7[/url] lenny/main Packages [5193kB]
Get:7 [url]ftp://85.142.128.7[/url] lenny/contrib Packages [76.2kB]
Get:8 [url]ftp://85.142.128.7[/url] lenny/non-free Packages [100kB]
Fetched 5444kB in 19s (281kB/s)
Reading package lists... Done
test:/home/archie# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
consolekit: Breaks: udev (< 147) but 0.125-7+lenny1 is installed
libudev0: Depends: udev (= 158-1) but 0.125-7+lenny1 is installed
E: Unmet dependencies. Try using -f.
test:/home/archie#
#61216
durc написал:
Вообще то apt-get dist-upgrade должен обновить всю систему.

Должен. Но всеравно он ставит udev в очередь. А udev ставится только из под обновленного ядра.

#61219

Вот и замкнутый круг %) Выход - ручная сборка ядра, но для ручной сборки скорее всего понадобится дополнительные утилиты и gcc?

#61220

А даунгрейд можно провести?

#61222

Попробуйте
apt-get install --reinstall consolekit

#61223

Господа!
Прошу Вас учитывать, что Santic держит поддерживает связь со мной через Jabber и дает советы и контролирует процесс этой ерунды, которая не дает спокойно жить.

Я новичок, ламер в Debian...

#61224


test:/home/archie# apt-get install --reinstall consolekit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of consolekit is not possible, it cannot be downloaded.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
consolekit: Breaks: udev (< 147) but 0.125-7+lenny1 is to be installed
libudev0: Depends: udev (= 158-1) but 0.125-7+lenny1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
test:/home/archie#
#61225

Попробуйте ещё раз запустить
apt-get -f install

#61227


test:/home/archie# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
x11-apps desktop-base libts-0.0-0 xfprint4 hdparm bzip2 libxfce4mcs-client3
libpolkit-gobject-1-0 libntfs10 xfonts-scalable libgnome-keyring0
xbase-clients fortunes-min x11-xfs-utils xterm docbook-xml libx86-1
xscreensaver dosfstools libeggdbus-1-0 libsmbios2 fortune-mod
libdirectfb-extra mtools libpaper-utils libfuse2 libck-connector0
libsmbios-bin libdirectfb-1.0-0 xfonts-75dpi vbetool librecode0 xbitmaps
powermgmt-base gs-common hal xfce4-icon-theme libvte9 libgsf-1-common xfwm4
libcroco3 lpr liblzo2-2 pm-utils xinit x11-session-utils libfs6
xfonts-100dpi a2ps libgs8 psfontmgr uswsusp ntfsprogs xli
libpam-ck-connector psutils gtk2-engines-xfce xorg-docs libcupsimage2
xfce4-mcs-manager ghostscript librsvg2-2 libpolkit-backend-1-0 sgml-data
xorg libsgutils2-2 radeontool xfce4-mixer-alsa xfwm4-themes hal-info
miscfiles libxfce4mcs-manager3 fuse-utils libcupsys2 libsplashy1
xfce4-session libjpeg-progs desktop-file-utils libvte-common xfdesktop4-data
librsvg2-common ntfs-3g xscreensaver-data libgsf-1-114 libpolkit-agent-1-0
gsfonts libpaper1 wdiff libntfs-3g75
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
consolekit dmsetup eject exo-utils gstreamer0.10-plugins-base gvfs
libatasmart4 libdevmapper1.02.1 libgdu0 libgudev-1.0-0 libparted0debian1
libudev0 orage policykit-1 policykit-1-gnome thunar thunar-volman udisks
xfce4 xfce4-mixer xfce4-panel xfce4-terminal xfce4-utils xfdesktop4
0 upgraded, 0 newly installed, 24 to remove and 54 not upgraded.
12 not fully installed or removed.
After this operation, 27.0MB disk space will be freed.
Do you want to continue [Y/n]? yes
(Reading database ... 49120 files and directories currently installed.)
Removing gvfs ...
dpkg: warning: while removing gvfs, directory '/usr/lib/gio/modules' not empty so not removed.
dpkg: warning: while removing gvfs, directory '/usr/lib/gio' not empty so not removed.
Removing libgdu0 ...
Removing udisks ...
Removing libparted0debian1 ...
Removing xfce4 ...
Removing thunar-volman ...
Removing xfce4-utils ...
Removing thunar ...
Removing xfce4-mixer ...
Removing orage ...
Removing xfdesktop4 ...
Removing xfce4-panel ...
Removing xfce4-terminal ...
update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode.
Removing exo-utils ...
Removing eject ...
Removing dmsetup ...
Removing libdevmapper1.02.1 ...
Removing gstreamer0.10-plugins-base ...
Removing libatasmart4 ...
Removing libgudev-1.0-0 ...
Removing libudev0 ...
Removing policykit-1-gnome ...
Removing policykit-1 ...
Removing consolekit ...
Processing triggers for libglib2.0-0 ...
Processing triggers for man-db ...
Processing triggers for menu ...
test:/home/archie#
#61229

я попал.....

#61231

apt-get dist-upgrade
Только с репозиториями не химичьте.

#61234

Господа!

Выхожу на Debian через Putty. Там больше, но это все, что я могу скопировать:


Unpacking replacement whiptail ...
Preparing to replace libkrb53 1.6.dfsg.4~beta1-5lenny1 (using .../libkrb53_1.6.d fsg.4~beta1-5lenny4_i386.deb) ...
Unpacking replacement libkrb53 ...
Replaced by files in installed package libgssapi-krb5-2 ...
Replaced by files in installed package libk5crypto3 ...
Replaced by files in installed package libkrb5-3 ...
Replaced by files in installed package libkrb5support0 ...
Preparing to replace python2.5 2.5.2-15 (using .../python2.5_2.5.2-15+lenny1_i38 6.deb) ...
Unpacking replacement python2.5 ...
Preparing to replace python2.5-minimal 2.5.2-15 (using .../python2.5-minimal_2.5 .2-15+lenny1_i386.deb) ...
Unpacking replacement python2.5-minimal ...
Preparing to replace libdbus-1-3 1.2.1-5 (using .../libdbus-1-3_1.2.1-5+lenny1_i 386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace libexpat1 2.0.1-4 (using .../libexpat1_2.0.1-4+lenny3_i386. deb) ...
Unpacking replacement libexpat1 ...
Preparing to replace dbus 1.2.1-5 (using .../dbus_1.2.1-5+lenny1_i386.deb) ...
Unpacking replacement dbus ...
Preparing to replace dbus-x11 1.2.1-5 (using .../dbus-x11_1.2.1-5+lenny1_i386.de b) ...
Unpacking replacement dbus-x11 ...
Preparing to replace libjasper1 1.900.1-5.1 (using .../libjasper1_1.900.1-5.1+le nny1_i386.deb) ...
Unpacking replacement libjasper1 ...
Preparing to replace libopenexr6 1.6.1-3 (using .../libopenexr6_1.6.1-3+lenny3_i 386.deb) ...
Unpacking replacement libopenexr6 ...
Preparing to replace libtiff4 3.8.2-11 (using .../libtiff4_3.8.2-11.2_i386.deb) ...
Unpacking replacement libtiff4 ...
Preparing to replace libxext6 2:1.0.4-1 (using .../libxext6_2%3a1.0.4-2_i386.deb ) ...
Unpacking replacement libxext6 ...
Preparing to replace kdelibs-data 4:3.5.10.dfsg.1-0lenny1 (using .../kdelibs-dat a_4%3a3.5.10.dfsg.1-0lenny4_all.deb) ...
Unpacking replacement kdelibs-data ...
Preparing to replace kdelibs4c2a 4:3.5.10.dfsg.1-0lenny1 (using .../kdelibs4c2a_ 4%3a3.5.10.dfsg.1-0lenny4_i386.deb) ...
Unpacking replacement kdelibs4c2a ...
Preparing to replace kdebase-data 4:3.5.9.dfsg.1-6 (using .../kdebase-data_4%3a3 .5.9.dfsg.1-6+lenny1_all.deb) ...
Unpacking replacement kdebase-data ...
Preparing to replace kdm 4:3.5.9.dfsg.1-6 (using .../kdm_4%3a3.5.9.dfsg.1-6+lenn y1_i386.deb) ...
Unpacking replacement kdm ...
Preparing to replace kdebase-bin-kde3 4:3.5.9.dfsg.1-6 (using .../kdebase-bin-kd e3_4%3a3.5.9.dfsg.1-6+lenny1_i386.deb) ...
Unpacking replacement kdebase-bin-kde3 ...
Preparing to replace kdebase-bin 4:3.5.9.dfsg.1-6 (using .../kdebase-bin_4%3a3.5 .9.dfsg.1-6+lenny1_i386.deb) ...
Unpacking replacement kdebase-bin ...
Preparing to replace libaudiofile0 0.2.6-7 (using .../libaudiofile0_0.2.6-7+lenn y1_i386.deb) ...
Unpacking replacement libaudiofile0 ...
Preparing to replace libpng12-0 1.2.27-2+lenny2 (using .../libpng12-0_1.2.27-2+l enny3_i386.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace libcupsimage2 1.3.8-1+lenny6 (using .../libcupsimage2_1.3.8 -1+lenny8_i386.deb) ...
Unpacking replacement libcupsimage2 ...
Preparing to replace libglib2.0-data 2.16.6-2 (using .../libglib2.0-data_2.16.6- 3_all.deb) ...
Unpacking replacement libglib2.0-data ...
Preparing to replace libgtk2.0-common 2.12.12-1~lenny1 (using .../libgtk2.0-comm on_2.12.12-1~lenny2_all.deb) ...
Unpacking replacement libgtk2.0-common ...
Preparing to replace libgtk2.0-bin 2.12.12-1~lenny1 (using .../libgtk2.0-bin_2.1 2.12-1~lenny2_all.deb) ...
Unpacking replacement libgtk2.0-bin ...
Preparing to replace libvorbisfile3 1.2.0.dfsg-3.1 (using .../libvorbisfile3_1.2 .0.dfsg-3.1+lenny1_i386.deb) ...
Unpacking replacement libvorbisfile3 ...
Preparing to replace usbutils 0.73-10 (using .../usbutils_0.73-10lenny2_i386.deb ) ...
Unpacking replacement usbutils ...
Preparing to replace xbase-clients 1:7.3+19 (using .../xbase-clients_1%3a7.3+20_ all.deb) ...
Unpacking replacement xbase-clients ...
Preparing to replace xserver-xorg-video-intel 2:2.3.2-2+lenny6 (using .../xserve r-xorg-video-intel_2%3a2.3.2-2+lenny7_i386.deb) ...
Unpacking replacement xserver-xorg-video-intel ...
Preparing to replace xserver-xorg-video-all 1:7.3+19 (using .../xserver-xorg-vid eo-all_1%3a7.3+20_i386.deb) ...
Unpacking replacement xserver-xorg-video-all ...
Preparing to replace xserver-xorg-input-all 1:7.3+19 (using .../xserver-xorg-inp ut-all_1%3a7.3+20_i386.deb) ...
Unpacking replacement xserver-xorg-input-all ...
Preparing to replace xserver-xorg 1:7.3+19 (using .../xserver-xorg_1%3a7.3+20_i3 86.deb) ...
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Unpacking replacement xserver-xorg ...
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Preparing to replace xorg 1:7.3+19 (using .../xorg_1%3a7.3+20_i386.deb) ...
Unpacking replacement xorg ...
Preparing to replace xscreensaver-data 5.05-3 (using .../xscreensaver-data_5.05- 3+lenny1_i386.deb) ...
Unpacking replacement xscreensaver-data ...
Preparing to replace xscreensaver 5.05-3 (using .../xscreensaver_5.05-3+lenny1_i 386.deb) ...
Unpacking replacement xscreensaver ...
Preparing to replace dhcp-client 3.1.1-6 (using .../dhcp-client_3.1.1-6+lenny4_a ll.deb) ...
Unpacking replacement dhcp-client ...
Preparing to replace libcupsys2 1.3.8-1+lenny6 (using .../libcupsys2_1.3.8-1+len ny8_all.deb) ...
Unpacking replacement libcupsys2 ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
Running depmod.
Running mkinitramfs-kpkg.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.26-17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.26-17 was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-2-686
Updating /boot/grub/menu.lst ... done

Setting up libvolume-id0 (0.125-7+lenny3) ...
Setting up udev (0.125-7+lenny3) ...
Installing new version of config file /etc/modprobe.d/blacklist ...
Installing new version of config file /etc/udev/rules.d/50-udev.rules ...
Installing new version of config file /etc/udev/rules.d/60-persistent-input.rule s ...
Installing new version of config file /etc/udev/rules.d/75-persistent-net-genera tor.rules ...
Installing new version of config file /etc/udev/rules.d/60-persistent-storage.ru les ...
Installing new version of config file /etc/udev/rules.d/91-permissions.rules ...
Installing new version of config file /etc/udev/rules.d/80-drivers.rules ...
Installing new version of config file /etc/udev/rules.d/60-persistent-storage-ta pe.rules ...
update-initramfs: deferring update (trigger activated)
Setting up x11-common (1:7.3+20) ...
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Setting up apt-utils (0.7.20.2+lenny2) ...
Setting up cpio (2.9-13lenny1) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package cpio should be updated.
Setting up dhcp3-common (3.1.1-6+lenny4) ...
Setting up dhcp3-client (3.1.1-6+lenny4) ...
Setting up libnewt0.52 (0.52.2-11.3+lenny1) ...
Setting up nano (2.0.7-5) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package nano should be updated.
Setting up wget (1.11.4-2+lenny1) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package wget should be updated.
Setting up whiptail (0.52.2-11.3+lenny1) ...
Setting up libkrb53 (1.6.dfsg.4~beta1-5lenny4) ...
Setting up python2.5-minimal (2.5.2-15+lenny1) ...
Setting up python2.5 (2.5.2-15+lenny1) ...
Setting up libdbus-1-3 (1.2.1-5+lenny1) ...
Setting up libexpat1 (2.0.1-4+lenny3) ...
Setting up dbus (1.2.1-5+lenny1) ...
The system user `messagebus' already exists. Exiting.
Stopping Hardware abstraction layer: hald.
Stopping system message bus: dbus.
Starting system message bus: dbus.
Starting Hardware abstraction layer: hald.
Setting up dbus-x11 (1.2.1-5+lenny1) ...
Setting up libjasper1 (1.900.1-5.1+lenny1) ...
Setting up libopenexr6 (1.6.1-3+lenny3) ...
Setting up libtiff4 (3.8.2-11.2) ...
Setting up libxext6 (2:1.0.4-2) ...
Setting up kdelibs-data (4:3.5.10.dfsg.1-0lenny4) ...
Setting up kdelibs4c2a (4:3.5.10.dfsg.1-0lenny4) ...
Setting up kdebase-data (4:3.5.9.dfsg.1-6+lenny1) ...
Setting up kdebase-bin-kde3 (4:3.5.9.dfsg.1-6+lenny1) ...
Setting up kdebase-bin (4:3.5.9.dfsg.1-6+lenny1) ...
Setting up kdm (4:3.5.9.dfsg.1-6+lenny1) ...
Setting up libaudiofile0 (0.2.6-7+lenny1) ...
Setting up libpng12-0 (1.2.27-2+lenny3) ...
Setting up libcupsimage2 (1.3.8-1+lenny8) ...
Setting up libglib2.0-data (2.16.6-3) ...
Setting up libgtk2.0-common (2.12.12-1~lenny2) ...
Setting up libgtk2.0-bin (2.12.12-1~lenny2) ...
Setting up libvorbisfile3 (1.2.0.dfsg-3.1+lenny1) ...
Setting up usbutils (0.73-10lenny2) ...
Setting up xbase-clients (1:7.3+20) ...
Setting up xserver-xorg-video-intel (2:2.3.2-2+lenny7) ...
Setting up xserver-xorg-video-all (1:7.3+20) ...
Setting up xserver-xorg-input-all (1:7.3+20) ...
Setting up xserver-xorg (1:7.3+20) ...
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Setting up xorg (1:7.3+20) ...
Setting up xscreensaver-data (5.05-3+lenny1) ...
Setting up xscreensaver (5.05-3+lenny1) ...
Setting up dhcp-client (3.1.1-6+lenny4) ...
Setting up libcupsys2 (1.3.8-1+lenny8) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.26-2-686
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
dpkg: warning: obsolete option '--print-installation-architecture', please use ' --print-architecture' instead.
Processing triggers for menu ...
test:/home/archie#
#61235

Ну вроде всё хорошо.

#61236

Теперь можно чо-нить установить?

#61237

Что дальше делать?

#61239
santic написал:
Теперь можно чо-нить установить?

Можно, только пока репозитории не трогайте.
Да, сначала перезагрузиться надо.

#61240

OK

#61241

Проблема решена, напортачили с репами. Всем спасибо :)

Войдите или зарегистрируйтесь, чтобы ответить.