Strona 1 z 1

Błędy apt-get podczas aktualizacji z Etcha do Sida

: 11 kwietnia 2009, 09:11
autor: Ridd
Witam wszystkich!

Chciałem zrobić aktualizację Debiana z Etcha do Sida. Moje repozytoria:

Kod: Zaznacz cały

#~~~~~~~~~~~~~~~~~~~~~~Sid~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
deb [url]ftp://ftp.pl.debian.org/debian/[/url] sid main non-free contrib
deb-src [url]ftp://ftp.pl.debian.org/debian/[/url] sid main non-free contrib
Wszystko poszło dobrze do pewnego momentu, kiedy apt "zwrócił" problem i aktualizacja została zatrzymana.
Próbowałem wznawiać aktualizację poprzez:

Kod: Zaznacz cały

apt-get upgrade -f
Itp., lecz błąd zawsze zostawał ten sam.

Daje loga z konsoli:

Kod: Zaznacz cały

ridd@Riddick:~$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  dbus-1-utils deskbar-applet ekiga eog epiphany-browser epiphany-extensions
  fast-user-switch-applet gnome-applets gnome-control-center gnome-core
  gnome-desktop-environment gnome-panel gnome-session libeel2-2.14
  libgnome-desktop-2 libgnome-window-settings1 libopal-2.2.0 libstlport4.6c2
  metacity nautilus nautilus-cd-burner openoffice.org openoffice.org-base
  openoffice.org-evolution python-gnome2-desktop totem-xine
The following NEW packages will be installed:
  bsh-gcj consolekit dbus-x11 default-jre default-jre-headless
  epiphany-browser-data fastjar gcj-4.3-base gij-4.3 gstreamer0.10-x
  java-common java-gcj-compat java-gcj-compat-headless libasyncns0
  libavahi-gobject0 libavcodec52 libavutil49 libbcel-java libbeagle1
  libblas3gf libbluetooth2 libcamel1.2-14 libcap2 libck-connector0
  libcolamd-3.2.0 libcurl3-gnutls libdb4.7 libdjvulibre-text libdjvulibre21
  libebook1.2-9 libecal1.2-7 libedataserver1.2-11 libeel2-2.24 libelfg0
  libepc-1.0-2 libepc-ui-1.0-2 libexempi3 libfaad0 libffi5 libflac8
  libfreebob0 libgail18 libgalago3 libgcj9-0 libgcj9-0-awt libgcj9-jar
  libgd2-noxpm libgdict-1.0-6 libgfortran3 libgmp3c2 libgmyth0 libgmythupnp0
  libgnome-desktop-2-7 libgnomekbd-common libgnomekbd3 libgraphviz4
  libgtksourceview2.0-0 libgtksourceview2.0-common libgucharmap7
  libgweather-common libgweather1 libhsqldb-java-gcj libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhunspell-1.2-0 libhyphen0
  libilmbase6 libjack0 liblapack3gf liblog4j1.2-java libltdl7 libmalaga7
  libmpcdec3 libmx4j-java libmysqlclient15off libnautilus-burn4 libneon27
  libnet-dbus-perl libnss3-1d liboobs-1-4 libopenexr6 libpango-perl
  libpolkit-dbus2 libpolkit-gnome0 libpolkit-grant2 libpolkit2 libpostproc51
  libpq5 libpulse0 libraptor1 librasqal1 libraw1394-11 librdf0 libregexp-java
  libsamplerate0 libschroedinger-1.0-0 libservlet2.4-java libsoup2.4-1
  libspeexdsp1 libstlport4.6ldbl libtotem-plparser12 libtrackerclient0
  libupnp3 liburi-perl libustr-1.0-1 libvoikko1 libvte9 libwavpack1 libwnck22
  libwpg-0.1-1 libwps-0.1-1 libwww-perl libxcb-shape0 libxcb-shm0 libxcb-xv0
  libxklavier12 libxml-parser-perl libxml-twig-perl lp-solve mysql-common
  openoffice.org-base-core openoffice.org-style-galaxy
  openoffice.org-style-tango policykit policykit-gnome python-bugbuddy
  python-evolution python-gconf python-gdata python-gnomeapplet python-gobject
  python-gtkhtml2 python-gtksourceview2 python-numpy python-ogg
  python-pkg-resources python-rdflib totem-common totem-gstreamer
  totem-plugins uno-libs3 ure x11-xkb-utils
The following packages have been kept back:
  arts avahi-daemon bind9-host cpp cupsys cupsys-bsd cupsys-client
  cupsys-common debianutils discover1 dnsutils eject evince evolution
  evolution-common evolution-data-server evolution-data-server-common
  evolution-exchange evolution-plugins file-roller foomatic-db
  foomatic-db-engine foomatic-db-gutenprint foomatic-db-hpijs foomatic-filters
  gdebi gimp gimp-data gnome-btdownload gnome-cards-data gnome-games
  gnome-games-data gnome-keyring gnome-power-manager gnome-system-monitor
  gnome-volume-manager gparted grub gs-common gs-esp gstreamer0.10-ffmpeg
  gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly hal hotkey-setup hpijs
  hpijs-ppds iceweasel iceweasel-gnome-support iceweasel-l10n-pl ijsgutenprint
  kadu kappfinder kate kdebase kdebase-bin kdebase-data kdelibs kdelibs-data
  kdelibs4c2a kdepasswd kfind klipper konqueror konqueror-nsplugins konsole
  ksysguard ksysguardd libaa1 libarts1c2a libcurl3 libedata-book1.2-2
  libgda2-3 libgimp2.0 libgl1-mesa-dri libgl1-mesa-glx libgtkmm-2.4-1c2a
  libhal-storage1 libhal1 libnm-glib0 librpcsecgss3 libsane libsasl2-2
  libsasl2-modules libsmbclient libsvga1 libtag1c2a libvte-common libwine
  libxine1 liferea linux-image-2.6-686 mailx metacity-common netcat
  network-manager network-manager-gnome nfs-common ntfs-3g pciutils
  policycoreutils poppler-utils printconf reportbug rhythmbox sound-juicer
  ttf-dejavu udev update-manager update-notifier uswsusp vbetool vino w3m wine
  wpasupplicant x11-common xbase-clients xorg xsane xsane-common xserver-xorg
  xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-kbd
  xserver-xorg-input-mouse xserver-xorg-input-synaptics
  xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
  xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
  xserver-xorg-video-cirrus xserver-xorg-video-cyrix xserver-xorg-video-dummy
  xserver-xorg-video-fbdev xserver-xorg-video-glint xserver-xorg-video-i128
  xserver-xorg-video-i740 xserver-xorg-video-imstt xserver-xorg-video-mga
  xserver-xorg-video-neomagic xserver-xorg-video-nsc xserver-xorg-video-nv
  xserver-xorg-video-rendition xserver-xorg-video-s3
  xserver-xorg-video-s3virge xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sis
  xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga
  xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
  xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via
  xserver-xorg-video-vmware xserver-xorg-video-voodoo xutils yelp
The following packages will be upgraded:
  acpi acpid adduser alacarte alsa-base alsa-utils anacron apt apt-utils at
  base-files base-passwd bash bc bittorrent bluez-gnome bsdmainutils bsdutils
  bsh bug-buddy busybox ca-certificates capplets-data cdrdao console-common
  console-data console-tools coreutils cpp-4.1 cpufrequtils cron dbus dc
  debconf debconf-i18n debian-archive-keyring defoma desktop-base
  desktop-file-utils dhcdbd dhcp3-client dhcp3-common dictionaries-common diff
  discover1-data dmidecode doc-debian doc-linux-text docbook-xml dpkg dselect
  dvd+rw-tools e2fslibs e2fsprogs ed enscript esound esound-common
  evolution-webcal exim4 exim4-base exim4-config exim4-daemon-light file
  findutils finger fontconfig fontconfig-config foomatic-filters-ppds ftp
  gcalctool gcc-3.4-base gcc-4.1-base gconf-editor gconf2 gconf2-common gdb
  gdm gedit gedit-common genisoimage gettext-base gij gksu gnome-about
  gnome-applets-data gnome-backgrounds gnome-desktop-data gnome-doc-utils
  gnome-icon-theme gnome-keyring-manager gnome-media gnome-media-common
  gnome-menus gnome-mime-data gnome-netstatus-applet gnome-nettool
  gnome-panel-data gnome-screensaver gnome-system-tools gnome-terminal
  gnome-terminal-data gnome-themes gnome-themes-extras gnome-user-guide
  gnome-utils gnomebaker gnupg gpgv grep groff-base gsfonts gstreamer0.10-alsa
  gstreamer0.10-esd gstreamer0.10-gnomevfs gstreamer0.10-plugins-base
  gtk2-engines gtkhtml3.8 gucharmap guile-1.6-libs gzip hibernate
  hicolor-icon-theme hostname hplip-data iamerican ibritish icedax ifupdown
  info initramfs-tools initscripts installation-report ipolish iproute
  iptables iputils-arping iputils-ping iso-codes ispell kde-core klibc-utils
  klogd konwert konwert-filters language-env laptop-detect less liba52-0.7.4
  libacl1 libao2 libapm1 libartsc0 libasound2 libaspell15 libatm1 libattr1
  libaudio2 libaudiofile0 libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-compat-libdnssd1 libavahi-glib1 libavahi-qt3-1
  libavc1394-0 libblkid1 libbonoboui2-0 libbonoboui2-common libcaca0
  libcairo-perl libcdparanoia0 libcomerr2 libconsole libcpufreq0 libcroco3
  libcucul0 libdaemon0 libdb4.2 libdb4.4 libdmx1 libdrm2 libdv4 libedit2
  libeel2-data libenchant1c2a libesd0 libexif12 libexpat1 libfam0
  libfontconfig1 libfontenc1 libfs6 libg2c0 libgail-common libgc1c2 libgcj-bc
  libgcj-common libgconf2-4 libgda2-common libgdl-1-0 libgdl-1-common
  libgksu1.2-0 libgksu2-0 libgksuui1.0-1 libglade2-0 libglib-perl
  libglibmm-2.4-1c2a libglu1-mesa libgnome-keyring0 libgnome-media0
  libgnome-menu2 libgnome-pilot2 libgnome2-0 libgnome2-canvas-perl
  libgnome2-common libgnome2-perl libgnome2-vfs-perl libgnomecanvas2-0
  libgnomecanvas2-common libgnomeprintui2.2-0 libgnomeprintui2.2-common
  libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-bin
  libgnomevfs2-common libgnomevfs2-extra libgpg-error0 libgphoto2-2
  libgphoto2-port0 libgsf-1-114 libgsf-1-common libgsm1
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2-perl libgtk2.0-0
  libgtk2.0-bin libgtk2.0-common libgtkhtml2-0 libgtkhtml3.8-15
  libgtksourceview-common libgtksourceview1.0-0 libgtkspell0 libgtop2-7
  libgtop2-common libguile-ltdl-1 libgutenprint2 libgutenprintui2-1
  libhsqldb-java libice6 libidl0 libidn11 libiec61883-0 libieee1284-3
  libijs-0.35 libjack0.100.0-0 libjaxp1.3-java libjline-java libjpeg62
  libklibc libkpathsea4 liblcms1 liblircclient0 liblocale-gettext-perl
  liblockfile1 liblua50 liblualib50 libmad0 libmagic1 libmdbtools
  libmodplug0c2 libmpeg2-4 libmusicbrainz4c2a libnautilus-extension1
  libnewt0.52 libnfsidmap2 libnotify1 libnspr4-0d libnss-mdns libogg0
  liboil0.3 libosp5 libpam-modules libpam-runtime libpam0g libpanel-applet2-0
  libpaper1 libpisock9 libpng12-0 libpopt0 libportaudio0 libqt3-mt
  libqthreads-12 librsvg2-2 librsvg2-common libscrollkeeper0 libsdl1.2debian
  libsdl1.2debian-alsa libsemanage1 libsensors3 libsepol1 libservlet2.3-java
  libsexy2 libshout3 libsidplay1 libsigc++-2.0-0c2a libslang2 libslp1 libsm6
  libsndfile1 libsnmp-base libsoup2.2-8 libspeex1 libss2
  libstartup-notification0 libsysfs2 libtasn1-3-bin libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libtheora0 libtiff4 libusb-0.1-4
  libuuid1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3
  libwmf0.2-7 libwnck-common libwpd8c2a libwrap0 libx11-6 libx11-data
  libxalan2-java libxau6 libxaw7 libxcomposite1 libxcursor1 libxdmcp6
  libxerces2-java libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1
  libxkbfile1 libxml2 libxml2-utils libxmu6 libxmuu1 libxp6 libxpm4
  libxrender1 libxres1 libxslt1.1 libxss1 libxt6 libxtrap6 libxtst6 libxv1
  libxvmc1 libxxf86dga1 libxxf86misc1 libxxf86vm1 linux-sound-base login
  logrotate lsb-release lsof m4 makedev man-db manpages manpages-pl
  manpages-pl-dev mawk menu menu-xdg mkisofs mktemp module-init-tools mount
  mpack mtools mtr-tiny mutt myspell-en-us myspell-pl nano nautilus-data
  ncurses-base ncurses-term net-tools netbase notification-daemon
  openbsd-inetd openoffice.org-calc openoffice.org-common openoffice.org-core
  openoffice.org-draw openoffice.org-gcj openoffice.org-gnome
  openoffice.org-gtk openoffice.org-help-en-us openoffice.org-help-pl
  openoffice.org-impress openoffice.org-java-common openoffice.org-l10n-pl
  openoffice.org-math openoffice.org-thesaurus-en-us openoffice.org-writer
  openssh-client openssl passwd perl-base pidentd pmount portmap poster
  powermgmt-base procps psmisc psutils python python-apt python-cairo
  python-dbus python-elementtree python-foomatic python-gmenu python-gnome2
  python-ipy python-minimal python-mutagen python-newt python-pyorbit
  python-pyvorbis python-selinux python-sip4 python-support python-vte
  python2.4 python2.4-minimal rdesktop scrollkeeper shared-mime-info sharutils
  strace sudo svgalibg1 synaptic sysklogd system-tools-backends sysv-rc
  sysvinit sysvinit-utils tar tasksel tasksel-data tcpd telnet texinfo time
  totem totem-mozilla traceroute tsclient ttf-opensymbol twm type-handling ucf
  unzip update-inetd usbutils util-linux vim-common vim-tiny wamerican wget
  whiptail whois wodim wpolish xdg-utils xfonts-100dpi xfonts-75dpi
  xfonts-base xfonts-encodings xfonts-terminus xfonts-utils xkb-data xml-core
  xresprobe xserver-xorg-input-all xsltproc xterm xutils-dev zenity
502 upgraded, 144 newly installed, 26 to remove and 164 not upgraded.
85 not fully installed or removed.
Need to get 828kB/501MB of archives.
After unpacking 273MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 [url]ftp://ftp.pl.debian.org[/url] sid/main python-apt 0.7.10.1 [389kB]
Get:2 [url]ftp://ftp.pl.debian.org[/url] sid/main gtk2-engines 1:2.18.0-1 [439kB]
Fetched 828kB in 7s (115kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Nie mo��na ustawi�� LC_ALL na domy��ln�� lokalizacj��: Nie ma takiego pliku ani katalogu
Extracting templates from packages: 100%
Preconfiguring packages ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
dpkg: regarding .../python-apt_0.7.10.1_i386.deb containing python-apt:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.10.1_i386.deb (--unpack):
 unsupported dependency problem - not installing python-apt
dpkg: regarding .../gtk2-engines_1%3a2.18.0-1_i386.deb containing gtk2-engines:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/gtk2-engines_1%3a2.18.0-1_i386.deb (--unpack):
 unsupported dependency problem - not installing gtk2-engines
Errors were encountered while processing:
 /var/cache/apt/archives/python-apt_0.7.10.1_i386.deb
 /var/cache/apt/archives/gtk2-engines_1%3a2.18.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bez dwóch bibliotek wymienionych na końcu loga nic nie mogę zrobić, zero możliwości instalacji, bo przecież brakuje zależności.

I jeszcze jedno.

Ręczna próba instalacji też nic nie daje, bo kolejne zalezności są niespełnione. Mam wrażenie, że system w ogóle się nie zaktualizował. W grubie nie ma wpisów związanych z nowym jajkiem, większość aplikacji to starsze wersje.
Co Robić?

: 11 kwietnia 2009, 09:52
autor: ArnVaker
...

: 11 kwietnia 2009, 09:53
autor: blackdemon
Nie aktualizuje sie bezposrednio z etcha/lennyego do sida, tylko najpierw do squeeze a potem do sida.

: 11 kwietnia 2009, 09:56
autor: Ridd
ArnVaker pisze:
Ridd pisze:Chciałem zrobić aktualizację Debiana z Etcha do Sida.
No to odpowiedziałeś sobie sam (chyba, że przeprowadzałeś aktualizację parę ładnych lat temu, kiedy to Etch był jeszcze wersją testową).
Przepraszam, ale nie zabardzo rozumiem.

Jakieś propozycje?

: 11 kwietnia 2009, 09:59
autor: ArnVaker
Nigdy nie aktualizuje się systemu przeskakując od razu o kilka wersji, rozbieżności w wersjach pakietów są zbyt duże.

Taką operację należy przeprowadzać stopniowo, uwzględniając wszystkie wydania.

: 11 kwietnia 2009, 10:00
autor: Ridd
Można coś jeszcze zaradzić?

Jakieś małe How-to, co i jak robić?

: 11 kwietnia 2009, 10:05
autor: ArnVaker
...

: 11 kwietnia 2009, 10:44
autor: lis6502
Opróżnij cache pakietów i aktualizuj po kolei do Lennyego, Squeeze'a i Sid'a.