Debian Configuration :: Apt Update Errors On Locally Mounted Repos
Nov 27, 2015
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
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?
i was trying to configure yum locally, can i copy files to any other location other than /var/ftp/pub. how to configure yum.repos.d/rhel debuginfo file.
I have a strange problem with my debian lenny server. I am running ispconfig 3, squirrelmail, webmin, clamav, etc on my lenny server. I have a few domain names binded to my ip adress. Until yesterday, everything worked fine. Today, i couldn't seem to reach my mailbox, and my website appeared to be offline. But when someone checks it from outside, it works fine! Only i cant reach it. This problem only occurs with one of the six domainnames i have. The rest is reachable for me.
I checked the logs, the ipadresses, everything seems fine. I have no clue what it could be... anyone suggestions?
Figured out the problem, party... it's a problem with my XP. If i boot in Windows 7 the site is reachable. Doesn't make sense tho.
In the live CD, auto eth0 worked fine.After installation, it cannot connect.I am using vaio laptop VPCCW16FG, there is a known display bug therefore i am booting into the OS with 'nomodeset'.i have no access to the internet and cannot update repos, therefore i cannot work around the bug.
Kernel: Linux 2.6.26-2-686 (i686) Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010 C Library: GNU C Library version 2.7 (stable) Distribution: Debian GNU/Linux 5.0.8 Desktop Environment: GNOME 2.20
Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely. I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally.
I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.
System Configuration:
I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.
How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.
I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?
I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.
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.
When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:
$ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)
I want this partition to be writable by just plugging it in.
The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:
$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/ $ mount | grep sdc1 /dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096) $ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1 Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE $ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) $ gnome-mount -nbtd /dev/sdc1 $ mount | grep sdc1 /dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?
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.
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 just recently installed ubuntu server on a PC that'll be our home server. I got it connected to the network but I can't update the repos with apt or aptitude. It stops at something about [URL] How do I fix this? I need to install software
I'm using openSUSE 11.3 with KDE 4.5.4. The updater applet works fine for me, however I think it only checks for updates from the update repo. I tried to modify this behaviour by right clicking the icon and checking "show available updates, when the backend provides it(for experts)" (translation from polish so it may not be 100% accurate) but the behaviour is the same, it only prompts me when there are updates available in the update repo but I would like it also to prompt me when there are updates available in the packman and KDE stable repo. Is it possible to force the updater applet to do this ?
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.
Is there an easy way to update Perl from repos or do I need to compile from source to get a newer version?
Longer version I'm trying to set-up MailScanner which requires a newer version of Perl IO than CentOS 5 appears to have in it's standard repos. I've also tried updating Perl from the rpmforge repo - but that just results in a bunch of transaction conflicts being reported by Yum. Is there another way of updating Perl from repos?
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.
as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....