[sisyphus] Как правильно делать dist-upgrade?

Sergey Kuznetsov =?iso-8859-1?q?yozhik_=CE=C1_atom=2Eru?=
Сб Ноя 9 14:18:30 MSK 2002


On Sat, 9 Nov 2002 12:43:21 +0300
Vitaly Lipatov <LAV на VL3143.spb.edu> wrote:

> On 9 Ноябрь 2002 11:46, Sergey Kuznetsov wrote:
> > On Sat, 9 Nov 2002 11:11:05 +0300
> >
> > Vitaly Lipatov <LAV на VL3143.spb.edu> wrote:
> > > В сизифе есть только один пакет
> > > libstdc++2.96, его и устанавливайте.

Уф, значит так. Закомментировал диски Мастера (вы были правы,
глюки, похоже, шли именно отсюда). Поскольку уже было сделано rpm
-e libstd++ --nodeps --justdb, apt потребовал сделать apt-get -f
install. Сделал его, вот конец сообщения:

Get:258 ftp://ftp.altlinux.ru i586/classic xmms-vorbis 1.2.7-alt7
[33,1kB]
Get:259 ftp://ftp.altlinux.ru i586/classic zlib-devel 1.1.4-alt2
[45,1kB]
Fetched 234MB in 22m39s (172kB/s)
Rebuilding RPM database (this may take a few minutes)...
Executing RPM (/bin/rpm -e --nodeps)...
Executing RPM (/bin/rpm -Uv --replacepkgs -h --fancypercent)...
error: failed dependencies:
        gettext = 0.10.40-alt3 is needed by
gettext-devel-0.10.40-alt3
iconv from UTF-8 to CP1251 failed for: рТПУФБС Й ХЧМЕЛБФЕМШОБС
МПЗЙЮЕУЛБС ЙЗТБ (
Invalid or incomplete multibyte or wide character)
E: Sub-process /bin/rpm returned an error code (4)

Попробовал повторить: 

[root на localhost root]# apt-get -f install
Processing File Dependencies... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-devel
XFree86-libs XFree86-locales
  XFree86-server XFree86-utils XFree86-xfs apt aptitude bzip2
bzlib clanlib clanlib-jpeg
  clanlib-mikmod clanlib-network clanlib-png clanlib-sound
clanlib-vorbis control coreutils
  design-graphics fontconfig gabber galeon galeon-common
ghostscript-common gnome-pilot
  gphoto2 grip groff groff-base groff-dvi groff-extra groff-lbp
groff-lj4 groff-ps groff-x11
  id3lib kdbg kde-i18n-ru kde-settings kde1-compat kdeadmin
kdeadmin-kcron kdeadmin-kdat
  kdeadmin-kfile kdeadmin-kpackage kdeadmin-ksysv
kdeadmin-kxconfig kdeadmin-lilo
  kdeadmin-secpolicy kdebase kdebase-devel kdebase-smbclient-ro
kdegames kdegames-atlantik
  kdegames-carddecks kdegames-kasteroids kdegames-katomic
kdegames-kbackgammon
  kdegames-kbattleship kdegames-kblackbox kdegames-kenolaba
kdegames-kfouleggs
  kdegames-kjumpingcube kdegames-klickety kdegames-klines
kdegames-kmahjongg kdegames-kmines
  kdegames-kolf kdegames-konquest kdegames-kpat kdegames-kpoker
kdegames-kreversi
  kdegames-ksame kdegames-kshisen kdegames-ksirtet
kdegames-ksmiletris kdegames-ksnake
  kdegames-ksokoban kdegames-kspaceduel kdegames-ktron
kdegames-ktuberling kdegames-kwin4
  kdegames-libs kdegames-lskat kdegames-megami kdegraphics
kdegraphics-devel
  kdegraphics-kamera kdegraphics-kcoloredit kdegraphics-kdvi
kdegraphics-kfax
  kdegraphics-kfile kdegraphics-kghostview kdegraphics-kiconedit
kdegraphics-kmrml
  kdegraphics-kooka kdegraphics-kpaint kdegraphics-kpovmodeler
kdegraphics-kruler
  kdegraphics-ksnapshot kdegraphics-kuickshow kdegraphics-kview
kdegraphics-kviewshell
  kdegraphics-libkscan kdelibs kdelibs-devel kdelibs-sound
kdelibs-sound-devel kdemultimedia
  kdemultimedia-arts kdemultimedia-devel kdemultimedia-kaboodle
kdemultimedia-kfile
  kdemultimedia-kmid kdemultimedia-kmidi kdemultimedia-kmix
kdemultimedia-krec
  kdemultimedia-kscd kdemultimedia-libs kdemultimedia-noatun
kdenetwork kdenetwork-devel
  kdenetwork-kdict kdenetwork-kfile kdenetwork-kget
kdenetwork-kgpgcertmanager kdenetwork-kit
  kdenetwork-kmail kdenetwork-kmailcvt kdenetwork-knewsticker
kdenetwork-knode kdenetwork-korn
  kdenetwork-kpf kdenetwork-kppp kdenetwork-krdc kdenetwork-krfb
kdenetwork-ksirc
  kdenetwork-ktalkd kdenetwork-kxmlrpcd kdenetwork-libs
kdenetwork-lisa kdepim
  kdepim-kaddressbook kdepim-kandy kdepim-kaplan kdepim-karm
kdepim-kfile kdepim-knotes
  kdepim-korganizer kdepim-kpilot kdepim-ksync kdepim-libs
kdesdk-cervisia kdesdk-gimp
  kdesdk-kapptemplate kdesdk-kbabel kdesdk-kbugbuster
kdesdk-kmtrace kdesdk-kspy kdetoys
  kdeutils kdeutils-ark kdeutils-kcalc kdeutils-kcardchooser
kdeutils-kcharselect
  kdeutils-kdepasswd kdeutils-kdessh kdeutils-kdf kdeutils-kedit
kdeutils-kfloppy
  kdeutils-khexedit kdeutils-kjots kdeutils-kregexpeditor
kdeutils-kregexpeditor-devel
  kdeutils-ksim kdeutils-ktimer kdeutils-laptop kkbswitch
krusader libGLU libXft
  libalsa2-devel libapt libart_lgpl libarts libarts-devel
libbeecrypt libdb4 libexif
  libgnome-pilot libgnomemm libgphoto2 libgtkmm libieee1284
libnoteedit libopenjade
  libpcsclite libpilot-link libpopt libqt1 libqt2 libqt2-devel
libqt3 libqt3-devel libreadline
  librpm libsigc++ libstdc++2.96 libtcl libtk libtse3 libxine
libxine-devel libxmms licq
  licq-base licq-console licq-rms menu-icons-crystalmdk mozilla
mozilla-enigmail mozilla-ipc
  mozilla-mail mozilla-nspr mozilla-ru noteedit openjade
pilot-link pingus postgresql
  postgresql-devel postgresql-libs povray povray-common psi
qt2-designer qt3-designer rpm
  rpm-python sylpheed synaptic trophy xine-ui xmms xmms-esd
xmms-mesa xmms-mikmod xmms-vorbis
  zlib zlib-devel
The following packages will be REPLACED:
  fileutils kde-config kde-design kde-desktoplnk
kdegraphics-kfile-png sh-utils textutils
The following NEW packages will be installed:
  XFree86-locales clanlib-mikmod clanlib-vorbis control coreutils
design-graphics fontconfig
  ghostscript-common groff-base groff-dvi groff-extra groff-lbp
groff-lj4 groff-ps groff-x11
  kde-settings kdeadmin-kfile kdeadmin-kxconfig
kdeadmin-secpolicy kdegames-atlantik
  kdegames-carddecks kdegames-klickety kdegames-kolf
kdegames-megami kdegraphics-kfile
  kdegraphics-kmrml kdegraphics-kpovmodeler kdemultimedia-krec
kdenetwork-kfile
  kdenetwork-kget kdenetwork-kgpgcertmanager kdenetwork-kmailcvt
kdenetwork-krdc
  kdenetwork-krfb kdepim-kaddressbook kdepim-kaplan kdepim-kfile
kdepim-ksync kdepim-libs
  kdeutils-kcardchooser kdeutils-ksim libGLU libXft
libalsa2-devel libart_lgpl libieee1284
  libpcsclite libqt1 libstdc++2.96 libtcl libtk
menu-icons-crystalmdk povray povray-common
The following packages will be upgraded
  XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-devel
XFree86-libs XFree86-server
  XFree86-utils XFree86-xfs apt aptitude bzip2 bzlib clanlib
clanlib-jpeg clanlib-network
  clanlib-png clanlib-sound gabber galeon galeon-common
gnome-pilot gphoto2 grip groff id3lib
  kdbg kde-i18n-ru kde1-compat kdeadmin kdeadmin-kcron
kdeadmin-kdat kdeadmin-kpackage
  kdeadmin-ksysv kdeadmin-lilo kdebase kdebase-devel
kdebase-smbclient-ro kdegames
  kdegames-kasteroids kdegames-katomic kdegames-kbackgammon
kdegames-kbattleship
  kdegames-kblackbox kdegames-kenolaba kdegames-kfouleggs
kdegames-kjumpingcube
  kdegames-klines kdegames-kmahjongg kdegames-kmines
kdegames-konquest kdegames-kpat
  kdegames-kpoker kdegames-kreversi kdegames-ksame
kdegames-kshisen kdegames-ksirtet
  kdegames-ksmiletris kdegames-ksnake kdegames-ksokoban
kdegames-kspaceduel kdegames-ktron
  kdegames-ktuberling kdegames-kwin4 kdegames-libs kdegames-lskat
kdegraphics
  kdegraphics-devel kdegraphics-kamera kdegraphics-kcoloredit
kdegraphics-kdvi
  kdegraphics-kfax kdegraphics-kghostview kdegraphics-kiconedit
kdegraphics-kooka
  kdegraphics-kpaint kdegraphics-kruler kdegraphics-ksnapshot
kdegraphics-kuickshow
  kdegraphics-kview kdegraphics-kviewshell kdegraphics-libkscan
kdelibs kdelibs-devel
  kdelibs-sound kdelibs-sound-devel kdemultimedia
kdemultimedia-arts kdemultimedia-devel
  kdemultimedia-kaboodle kdemultimedia-kfile kdemultimedia-kmid
kdemultimedia-kmidi
  kdemultimedia-kmix kdemultimedia-kscd kdemultimedia-libs
kdemultimedia-noatun kdenetwork
  kdenetwork-devel kdenetwork-kdict kdenetwork-kit
kdenetwork-kmail kdenetwork-knewsticker
  kdenetwork-knode kdenetwork-korn kdenetwork-kpf kdenetwork-kppp
kdenetwork-ksirc
  kdenetwork-ktalkd kdenetwork-kxmlrpcd kdenetwork-libs
kdenetwork-lisa kdepim kdepim-kandy
  kdepim-karm kdepim-knotes kdepim-korganizer kdepim-kpilot
kdesdk-cervisia kdesdk-gimp
  kdesdk-kapptemplate kdesdk-kbabel kdesdk-kbugbuster
kdesdk-kmtrace kdesdk-kspy kdetoys
  kdeutils kdeutils-ark kdeutils-kcalc kdeutils-kcharselect
kdeutils-kdepasswd kdeutils-kdessh
  kdeutils-kdf kdeutils-kedit kdeutils-kfloppy kdeutils-khexedit
kdeutils-kjots
  kdeutils-kregexpeditor kdeutils-kregexpeditor-devel
kdeutils-ktimer kdeutils-laptop
  kkbswitch krusader libapt libarts libarts-devel libbeecrypt
libdb4 libexif libgnome-pilot
  libgnomemm libgphoto2 libgtkmm libnoteedit libopenjade
libpilot-link libpopt libqt2
  libqt2-devel libqt3 libqt3-devel libreadline librpm libsigc++
libtse3 libxine libxine-devel
  libxmms licq licq-base licq-console licq-rms mozilla
mozilla-enigmail mozilla-ipc
  mozilla-mail mozilla-nspr mozilla-ru noteedit openjade
pilot-link pingus postgresql
  postgresql-devel postgresql-libs psi qt2-designer qt3-designer
rpm rpm-python sylpheed
  synaptic trophy xine-ui xmms xmms-esd xmms-mesa xmms-mikmod
xmms-vorbis zlib zlib-devel
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are
doing!
  fileutils
200 packages upgraded, 54 newly installed, 7 to remove(replace)
and 556 not upgraded.
Need to get 0B/233MB of archives. After unpacking 126MB will be
used.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, I understand this may be
bad'
 ?] Yes, I understand this may be bad
Rebuilding RPM database (this may take a few minutes)...
Executing RPM (/bin/rpm -Uv --replacepkgs -h --fancypercent)...
Preparing...                
###########################################################
#[100%]
file /usr/lib/menu/menu from install of
menu-icons-crystalmdk-2.1.5-ipl77mdk conflicts with file from
package menu-2.1.5-ipl71mdk
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/Makefile.atalk
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/AppleStyleWriter/README from
install of ghostscript-common-7.05-alt9 conflicts with file from
package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/README.atalk
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/AppleStyleWriter/printcap.a4
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/direct_
stylpbm from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/direct_
stylps from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylasc
ii from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylasc
ii-atalk from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylasc
ii.a4 from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps-
atalk from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps-
color from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps-
color-atalk from install of ghostscript-common-7.05-alt9
conflicts with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps-
color.a4 from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/AppleStyleWriter/scripts/stylps.
a4 from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/Fonts.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pbm2ppa/INSTALL-MORE
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/CALIBRATION
.txt from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/COLOR.txt
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/Changelog
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL.MAN
DRAKE.html from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL.MAN
DRAKE.txt from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL.RED
HAT.html from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL.RED
HAT.txt from install of ghostscript-common-7.05-alt9 conflicts
with file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/INSTALL.SUSE
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/README
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/README.secu
rity from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/RELEASE-NOT
ES from install of ghostscript-common-7.05-alt9 conflicts with
file from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/TODO
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/HPDeskJetPPA/pnm2ppa/ppa_protoco
l/sweep_data.html from install of ghostscript-common-7.05-alt9
conflicts with file from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/History2.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/History3.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/History4.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/Install.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/LexmarkZ42/ChangeLog from
install of ghostscript-common-7.05-alt9 conflicts with file from
package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/LexmarkZ42/README from
install of ghostscript-common-7.05-alt9 conflicts with file from
package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/Maintain.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/Make.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file
/usr/share/doc/ghostscript-7.05/OKI-Winprinters/oki4daemon.init
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/SamsungML-85G/ml85-print
from install of ghostscript-common-7.05-alt9 conflicts with file
from package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/SamsungML-85G/ml85-test from
install of ghostscript-common-7.05-alt9 conflicts with file from
package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/SamsungML-85G/printcap from
install of ghostscript-common-7.05-alt9 conflicts with file from
package ghostscript-7.05-alt2
file /usr/share/doc/ghostscript-7.05/Unix-lpr.htm from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/ghostscript/7.05/lib/CIDFnmap from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/ghostscript/7.05/lib/gs_init.ps from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/ghostscript/7.05/lib/gs_setpd.ps from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/ghostscript/7.05/lib/pdf_sec.ps from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/man/man1/gs.1.bz2 from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
file /usr/share/man/man1/pnm2ppa.1.gz from install of
ghostscript-common-7.05-alt9 conflicts with file from package
ghostscript-7.05-alt2
E: Sub-process /bin/rpm returned an error code (205)

Итак, осталась ругань на ghostscript и menu. В
/var/cache/apt/archives/ большой список скачанных пакетов, но по
rpm -qa|grep <имя пакета> выдаются старые их версии, т.е., если я
правильно понимаю, в базу данных rpm они пока не внесены. Как мне
поступить теперь - rpm --rebuilddb или это не нужно?

С уважением,
Сергей



Подробная информация о списке рассылки Sisyphus