On Fri, Sep 24, 2010 at 9:23 AM, Paulo Diovani <pa...@diovani.com> wrote: > > Hi, people. Yesterday I started to upgrade my Debian installation (on na > Acer Aspire) to Squeeze, but things gone really bad. > > I did na aptitude full-upgrade and after download finished (about 2GB) dpkg > accused a loto f missed dependencies and warns me of the risk of upgrading > udev without upgrading the kernel first. I was not planning to upgrade my > kernel, but as it’s need i’ll do that, but now, for every install command > apt tries to install all the packages it should upgrade (what does not > work). > > Some packages was already unninstalled (includding aptitude), but seens that > no one was installed yet. > > I don’t remember how to make apt forget what packages it should install. > > Can someone tell me how to make apt forgets the upgrade list for now, Just > to allow me to install a new kernel and aptitude again, for later upgrade? > > Is Sid required, atm, for sqeeze works without dependecy faults?
>From the release notes @ http://www.debian.org/releases/testing/i386/release-notes/index.en.html 4.5.5. Minimal system upgrade Because of certain necessary package conflicts between lenny and squeeze, running apt-get dist-upgrade directly will often remove large numbers of packages that you will want to keep. We therefore recommend a two-part upgrade process, first a minimal upgrade to overcome these conflicts, then a full dist-upgrade. First, run: # apt-get upgrade This has the effect of upgrading those packages which can be upgraded without requiring any other packages to be removed or installed. The next step will vary depending on the set of packages that you have installed. These release notes give general advice about which method should be used, but if in doubt, it is recommended that you examine the package removals proposed by each method before proceeding. Some common packages that are expected to be removed include base-config, hotplug, xlibs, netkit-inetd, python2.3, xfree86-common, and xserver-common. For more information about packages obsoleted in squeeze, see Section 4.9, “Obsolete packages”. 4.5.6. Upgrading the kernel and udev The udev version in squeeze requires a kernel of version 2.6.26 or newer with the CONFIG_SYSFS_DEPRECATED option disabled and the CONFIG_INOTIFY_USER and CONFIG_SIGNALFD options enabled. Because the standard Debian kernels in lenny have CONFIG_SYSFS_DEPRECATED enabled, and the udev version in lenny will not provide all the functionality expected by the latest kernels, special care must be taken when upgrading to avoid putting your system in an unbootable state. Booting the 2.6.26 kernel from lenny with the udev from squeeze may result in a failure to correctly assign names to network devices, and will also fail to apply certain additional permissions to block devices (such as access by the disk group). It is therefore strongly recommended that you upgrade the kernel on its own at this point, to ensure a compatible kernel is available before upgrading udev. To proceed with this kernel upgrade, run: # aptitude install linux-image-2.6-flavor See Section 4.6.1, “Installing the kernel metapackage” for help in determining which flavor of kernel package you should install. Immediately after upgrading the kernel, it is recommended to also install the new udev to minimize the risk of other incompatibilities caused by using the old udev with a new kernel. You can do this by running: # apt-get install udev 4.5.7. Upgrading the rest of the system You are now ready to continue with the main part of the upgrade. Execute: # apt-get dist-upgrade This will perform a complete upgrade of the system, i.e. install the newest available versions of all packages, and resolve all possible dependency changes between packages in different releases. If necessary, it will install some new packages (usually new library versions, or renamed packages), and remove any conflicting obsoleted packages. When upgrading from a set of CD-ROMs (or DVDs), you will be asked to insert specific CDs at several points during the upgrade. You might have to insert the same CD multiple times; this is due to inter-related packages that have been spread out over the CDs. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version (displayed as “held back”). This can be resolved by either using aptitude to choose these packages for installation or by trying apt-get -f install package. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktinjjjzwfcamsnbrwtlccx5_+eqpnsv_0bdoz...@mail.gmail.com