Debian Configuration :: Consistently Getting Errors With Apt-get Update
Oct 22, 2015
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?
My primary repos are DVD .isos on my hard drive loop-mounted in /etc/fstab. Although I can install packages just fine and there are no issues with running installed applications, I must have screwed up the configuration of /etc/apt/sources.list because I get this output when I do apt-get update:
Here is my rather primitive but functional /etc/apt/sources.list:
Code: Select all# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main deb file:/dvd1 jessie main contrib deb file:/dvd2 jessie main contrib deb file:/dvd3 jessie main contrib
My sid running fine for months until recently. It is now freezed more frequently. Brief looking at process I found kswapd0 constantly consume 50% cpu right after booting in, even when swap usage is only 3%.
I have three 10Gb Fibre PCI ethernet cards and 2 onboard gigabit ports. The two gigabit ports always seem to be mapped to eth0 and eth1. I set the network configuration for eth2, eth3, and eth4 in the /etc/sysconfig/network-scripts/ifcfg-eth# files. Would the NIC in PCI slot 1 always be mapped to eth2, NIC in slot 2 mapped to eth3, and NIC in slot 3 always mapped to eth4?
Every time 10.04 updates I find that two of my programs - boinc and CUPS - get de-configured and must be either reconfigured, or re-installed to make them work. While the fix itself is easy, it is an inconvenience to have to do this after every weekly update. Why this is happening, what I can do to prevent it from occurring in the future (aside from not updating).
I can't seem to get apt-get or the update manager to work consistently since I upgraded to 10.04. First, I get a regular segmentation fault on about a daily basis, I run sudo rm /var/cache/apt/*.bin as I saw in other threads, and then it usually works.
However now anytime I try to update, upgrade or install, I get the following error:
Reading package lists... Error! E: Problem parsing dependency Depends E: Error occurred while processing git-cola (NewVersion1) E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_lucid_universe_ binary-i386_Packages E: The package lists or status file could not be parsed or opened.
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.
This is on my AMD64 Testing box...A couple days ago during an apt-get dist-upgrade, near the end I saw the errors below.
I haven't noticed anything broken, yet. I usually only see dkms errors when VBox squawks after an update and I run /etc/init.d vboxdrv setup.
The section of the results containing the errors to the end of the output:
Code: Select allSetting up linux-image-4.3.0-1-amd64 (4.3.5-1) ... /etc/kernel/postinst.d/dkms: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db5 - (-30969) error: cannot open Packages database in /root/.rpmdb error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
what the hell the error message shown below and in the attachment means? Apt-get, Aptitude, dpkg and member limiter's 3/21 post all give the same outcome. Do I need to simply remove the offending .deb file from /var/cache/apt/archives? Do I need to install squeeze from scratch? (I'm installing over a tempermental lenny-sid hybrid installation.) This thing is blocking installation and configuration of 28 other packages.
Code: dpkg: error processing /var/cache/apt/archives/libx11-dev_2%3a1.3.3-4_i386.deb (--unpack): short read on buffer copy for backend dpkg-deb during `./usr/share/doc/libx11-dev/libX11.txt.gz'
Installed 6.01a from DVD 1 on a system with 4GB ram. Installer installed amd64 version by default. When I try to install amd64.deb files I get "wrong architecture" error messages from the package manager. root@Laptop-RalphDeb:/home/ralphq# uname -r 2.6.32-5-amd64 root@Laptop-RalphDeb:/home/ralphq# uname -p unknown Why I can install amd64 programs and why I get unknown for the uname -p command?
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.
Although it's worked very consistently in the past, since moving to the newer kernels (3.16 or 4.0) on strech/sid, resuming from hibernation seems to randomly work -- sometimes it loads the image from swap, but other times it simply does a fresh boot. To troubleshoot, I've increase the size of swap and then updated 'fstab', the initramdisk, and grub -- but still no reliable behavior...
I am having this problem on my old 64-bit Debian box (stable's Jessie) box, but nothing seems to fix it from what I saw online like in [URL] ... and other forums. Maybe I missed something?
I'm trying to perform a clean installation of 8.0.0-i386 from a CD. Seven consecutive attempts all result in the same issue: Almost immediately after commiting the disk partitioning settings (i.e., to begin formatting), the computer does a hard restart. I have tried doing the partitioning as early as possible in the installation process, just in case the system is running out of memory; I have also tried using the lowmem option. I suspect the problem may be related to my very old hardware...
Micronics serverboard 440BX chipset* Dual Pentium II 450MHz CPUs* 1GB ECC RAM* Adaptec AHA-2940UW SCSI adapter IBM Ultrastar 36GB UW-SCSI HDD ATAPI CD-ROM Matrox G100 AGP video card* *starred items are all original parts from an Intergraph server with validation/verification stickers attesting to their intercompatibility
No POST errors, the HDD passed verification using the Adaptec ROM utility, all unnecessary hardware removed
Could it be that I need an older release or some custom-compiled kernel? The only thing I could come up with on the web was that a lot of people have a similar failure with modern distros on non-PAE CPUs, but the P-II should not be susceptible to this problem.
While I had the case open to swap out a network card I thought I would drop in an old USB card (previously used with no problems on a machine running Debian) however on boot I'm now getting some errors showing up. The card has been sitting around for a while so it could be an issue with the card.
i have download debian 6.0.1 DVD, and installed corectly,i am using internet behind proxy, but i configure all the things thier and i still can ping to google from CLI bt i could nt update my system
My probles consists in that i have no idea on how update the clamav. I downloaded it throu center of software. Butt when i try to upgrade it from the gui the upgrading bar reaches only 15% and desapears. I tried do type freshclam from root command line but it just writes that there is not such command. May be i use incorrectly the command line.
I've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :
mart@mart-laptop:~$ uname -a Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux mart@mart-laptop:~$ sudo aptitude search ^linux-image
I have a PC that have a new Ethernet card that is not yet supported by Debian/Lenny.I downloaded the latests driver from the manufacturer and after a make;make install everything works like a charm.My problem is that one day after a probable update, Debian overrided my new driver by an other one causing my Ethernet card to shut down.After an other make install, everything work again like it should..But how do i do to prevent Debian to update my driver ?
I have squeeze using the default setup with 5 seperate partitions on hard drive. All other updates are fine but it will not install the Linux-Image-2.6.32-5-amd64. I get message that not enough room. I think this is the kernal update. I use update manager. Is there a fix for this short of resizing the partition. This is a one computer/user setup. I had this problem on a previous install of stable and ignored it thinking that it was a glitch. That install was an experimental setup and I liked it but it didn't work on the internet very well so went to testing.
there seems to be a very important bug with php 5.2.6 (mb_send_mail, [URL]). Unfortunately this affects my php applications greatly. I am currently running debian 5.0.7, with the latest updates. how to upgrade my php.
I updated squeeze last night for the first time. It worked fine after 1st reboot last night. There was one reboot stalled at "hald" so I shut down and restarted. Worked ok 2nd time around
Today,upon login I got a string of taskbar notification (which I couldnt read as they all overlapped . I was able to see a kernel error message but couldnt report it (network was down) or save it (USB stick not recognised) Some programs worked, others didnt
I have the partedmagic rescue distro on USB stick so have those programs to use in order to fix the problem. Any idea how I can repair this? I tried fdisk for the hell of it. reported clean partition as predicted. I am using debian-testing-amd64-kde.
About an hour ago i did an update on my Debian Squeeze. After the update was completed my LAN connection stopped working.. now i have to connect my computer to my router with a usb cable instead with my ethernet cable.. also, on the network connection, on the wired network section it says that the device(ethernet) has not been managed..