Debian Configuration :: Stuck In Aptitude Limbo - Errors During Updates
Sep 1, 2011
It's trying to fix/complete failed installs but keeps encountering the same errors (error message below). I'm running basically Testing, but there are a few Stable and SID packages due to issues with the blasted nVidia legacy drivers. I've swapped out the video board with an ATI board so that is sorted, but now I can't do any updates. Hoping there is some way to manually override apt's determination to try to fix all broken packages whenever I do anything (install, remove, update, etc). A Google search of this error message didn't turn up anything recent. Any thoughts are welcome.
After running "aptitude upgrade" I have been getting a message lately such as "There are x updates available, it is recommended to update your system". But, running aptitude update/upgrade again afterwards, aptitude ignores these supposedly available updates to the system. How can I clear up this situation?. I am using the latest Debian Squeeze distro
I've been looking for an aptitude command to search for security updates. This information is being shown when running the screen. So far I reached to this command: aptitude search '~S ~VCANDIDATE ~Asecurity ~U' It looks like producing the correct results, but I still don't quite understand the how the filter (~S) command works.
what would happen if aptitude needed to ask me a question, (like which config file to keep for a certian essential program, etc.). I don't think I've come across this problem yet, but I really wouldn't know. I do get the following lines on the screen with aptitude-gtk just about every day when I do squeeze updates and I wonder if it's not related to this same question. Does anyone know if aptitude-gtk is capable of asking you, the administrator, questions about a package that it's updating?
this is at the root of the problems I'm about to describe: Whenever I try to upgrade my Debian installation, I have repeated "size mismatch" errors that necessitate restarting the upgrade process. Since I'm using Debian Squeeze there are lots of upgrades to be done every week. Today, for instance, because I've not upgraded for a few weeks I have to download over 300MB of files to complete the upgrade. However, because of the size mismatch problem this download may well turn into something between 1GB and 2GB, as I repeatedly have to re-download files that were successfully downloaded in the last failed upgrade. What with my ISP limiting me to 7GB per month, I'm finding that merely keeping Debian up to date is using up most of my allotted bandwidth.
I've tried setting the Aptitude preferences not to "remove unused packages automatically", and not to "remove obsolete package files after downloading package lists", but for some reason I still find that files I downloaded in the last failed upgrade have to be downloaded again (and again, ...) whether anyone either knows how to avoid the package size mismatch problem (I can't change my ISP, which has a monopoly on providing internet to my area), or alternatively knows how to set Aptitude not to forget the packages it has downloaded successfully during each failed upgrade, thereby allowing me to avoid such a huge bandwidth usage on my frequent upgrades.
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
I have had this problem repeatedly with aptitude recently. I run Debian Squeeze but in a somewhat unusual fashion - I create a custom live image using the builder on the Debian Live website and then run the live image in persistent mode off a flash drive. For all intents and purposes this has never behaved any differently from a standard Debian install and has given me a great deal of flexibility and power, for which I'm grateful.
However there's been one strange phenomenon that keeps occurring. After a certain point - not before - aptitude stops removing dependencies when I remove packages, though in the ncurses interface the option is shown as switched on (and my .aptitude/config file does not switch it off, nor does any other configuration file that I can find, though maybe I'm missing something). This occurs even in the case of dependencies which I know cannot be depended upon by any other package. e.g. the e17 package in unstable brings in libecore, libevas etc. which are depended on only by e17 as I have no other Enlightenment packages installed. But removing e17 removes only the e17 package and not the dependencies.
The other odd thing is that this does not occur at first. Aptitude works fine for a while on a clean system. At some point though it simply changes in behaviour.
I use Jessie, with the Aptitude curses interface for package management. It seems that every time I successfully uninstall/purge a package (along with its dependencies), then the next time I try to install/uninstall anything else it wants to reinstall that package (and its dependencies). It takes several (I haven't counted) "don't install" instructions from me before it will forget about it.
I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:
00-debian_sources.list deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free
[code]....
All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.
I changed to testing repository in my Debian 6.0 and I used command "apt-get update". Now, everytime I want to do something with apt-get or aptitude, I receive this:
With apt-get: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs E: The package lists or status file could not be parsed or opened.
or with aptitude: [ ERR] Reading package lists E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs E: The package lists or status file could not be parsed or opened. E: Couldn't rebuild package cache E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs E: The package lists or status file could not be parsed or opened.....
I had been doing some removal of packages, and things went well, or so I thought. Now whenever I try and install any package using aptitude, some old state is lingering around and wants me to install packages that I do not want, and remove some packages that I am not sure about removing (did I actually select those to be removed??) I removed libvirt etc, and now it wants to come back? Also, like I mentioned, why remove those other four packages?
The following NEW packages will be installed: aqemu gtkrsync libvirt-doc libvirt0 python-libvirt qemu qemu-kvm qemu-system qemu-user qemu-utils virt-top virt-viewer virtinst The following packages will be removed: dnsmasq-base{u} netcat-openbsd{u} python-gtk-vnc{u} python-vte{u} 0 packages upgraded, 13 newly installed, 4 to remove and 176 not upgraded. Need to get 2,210kB/24.3MB of archives. After unpacking 72.7MB will be used. Do you want to continue? [Y/n/?] ^C
Running squeeze, and enjoying it so far, apart from a broken out of the box synergy (compiled my own synergy-plus to fix that issue) and a buggy samba client.
I'm attempting to install some software on my friend's computer. It keeps saying the packages I want aren't there but I know they are. I've been fooling around with this for a while. I may have broken something in the process. Repository names, perhaps?Is there some way to reinstall Synaptic/Aptitude and "wipe the slate clean?"
I cloned my disk that have dual boot in it clone the disk remove the old one put the new one so far okay. But when i put with the new disk to linux it goes to the emergency mode:
run fstab and this is my fstab results:
# <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=cd9637db-0479-4ef0-90fd-481a50e23060 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=df29ffb9-91a8-48d7-91cd-5e671b55677d none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 UUID=696FF92C4C532245 /media/Windows ntfs defaults,x-gvfs-name=Windows,x-gvfs-icon=%2Fhome%2Fdarkangel%2FDownloads%2Fwindows_hdd_icon.png,x-gvfs-show 0 0
I'm new to the world of linux I've started using it just one week ago.I installed Debian Lenny without problem, and after 2 or 3 days managed to make my wifi and ATI card to work. Today I tried installing compiz, through the packet manager that comes with the system. It was downloaded and installed successfully, so I rebooted to see it effects (I guess) but after that, I wasn't able to get to the login screen anymore, it just gets stuck at the "gray" screen before that (I took a pic of what screen i'm talkin about). Then I accessed in console mode and removed all the compiz packages, tried dpkg-reconfigure gnome and gnome-core, then reinstalled the ati drivers, but the problem is still there.I don't want to reinstall the whole system, I don't think a simple problem like this is enough to do so, but sincerely I'm completly lost.
Whenever I unplug my laptop it gets slugishly slow, and I don't understand why. I noticed that when on battery I cannot by any means make the cpu work at its full speed (1.7Ghz) even with the performance governor; it always stays at 1.2Ghz. When unplugged from AC, cpufreq-info also tells me the speed can vary between 600MHz and 1.2Ghz, even though it reports the max hardware speed of 1.7Ghz. Besides, I have tested the laptop on AC power at 1.2GHz and it seems a whole lot faster than when on battery at the same speed. Are there any more "power-friendly" reductions in... say for example, graphics card? It would impact UI redesign significantly (and it sure as hell looks slow). How can I customize (or at least disable) these inconvenient cpu speed reductions?
I don't have this problem when I take this laptop to work and connect to the network there, so I thought it must be a problem with the way my modem/router is configured. But when I turn off the firewall, the problem persists. Actually, I'm not very knowledgeable about networking issues, so I'm not sure I'm turning off the firewall correctly, but in the config web page for my router, I go to firewall settings, pick the computer by name, and choose an option that says "Allow all applications (DMZplus mode)". I've also rebooted the laptop since changing this option and tried again with the same results.
I lost my ssh connection to Ubuntu 10.10 server during the configuration update stage of an aptitude full-upgrade for a few month's worth of updates.From the following ps ax list, can anyone tell me how I might reconnect to the screen which is prompting whether to keep the existing samba version, or use the distribution conf version?
Failing that, what's the safest sequence top kill these processes and start again? This time I'll remember to use screen to prevent connection loss.
I have Debian 8.2 with KDE 4.14 and everything runs perfect, except for the internet connection. This problem happens randomly when I turn on my machine. Sometimes when the desktop loads, the connection is already settled.
But sometimes when the desktop loads, the wifi icon is still loading and keeps stuck at "setting network address". Since this problem happens randomly I really don't know what is happening here. My wifi chip is this:
New to Ubuntu not to Unix. I am having issues with aptitude updates. Gives error unable to locate. When I look for the file manually I cannot find it either. It is looking for http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US. Is there a site that list all mirrors that carry the updates? I would like to find manually and adjust source.list file.
I've noticed this happening on some servers that I manage. I'll be downloading updates around 300 kb/s - 500 kb/s and then out of nowhere it will drop to about 3 kb/s. It will stay here forever, if I let it. I then have to cancel (Ctrl-C) the updates and restart them. This happens over and over and over until I finally get the full download. Why does this happen?
I have Jessie in a VM. For some days I have been consistently getting errors with apt-get update, no matter if I use httpredir of ftp.us. These are the errors:
Code: Select allErr http://ftp.us.debian.org jessie/updates/main amd64 Packages 404 Not Found [IP: 64.50.236.52 80] Err http://ftp.us.debian.org jessie/updates/contrib amd64 Packages 404 Not Found [IP: 64.50.236.52 80] Err http://ftp.us.debian.org jessie/updates/non-free amd64 Packages
[Code] ....
E: Some index files failed to download. They have been ignored, or old ones used instead.
And this is the syntax in my /etc/apt/sources.list
Code: Select alldeb http://ftp.us.debian.org/debian/ jessie main non-free contrib # deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib
deb http://ftp.us.debian.org/ jessie/updates main contrib non-free # deb-src http://ftp.us.debian.org/ jessie/updates main contrib non-free
# wheezy-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free # deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# Jessie Backports deb http://http.debian.net/debian jessie-backports main contrib non-free
Mirrors cannot be down for so long, so what is going on?