Re: Output from apt-get update.
On Tue, Jul 02, 2019 at 03:10:06PM -0700, pe...@easthope.ca wrote: > dalton has dnsmasq. From distant recollection, name resolution failed when > the system was running and dnsmasq was not. That motivated direct reference > to IP addresses. To the best of my knowledge, an IP address should suffice > to > identify a server or possibly a cluster of them. An entry in /etc/hosts would probably be a better choice. In the case of HTTP requests, the hostname needs to be sent inside the request to identify the correct virtual host. (Now, maybe that particular mirror isn't on a virtual host, but in general, most HTTP requests *should* be treated as virtual hosts. Using a raw IP address in the URL typically won't get you the right result.)
Re: Output from apt-get update.
pe...@easthope.ca wrote: > > The mainboard interface appears as eth0. > "ip link show" reports eth0 is up. > "ip addr show" reports an IPv6 address for eth0. No IPv4 address. > > ping to a neighbour reports > connect: network is unreachable > > Is IPv6 the default now? Shorewall configuration needs updating? > On a default Debian install, both IPv4 and IPv6 addresses will be configured if detected: a DHCP request will be sent to obtain an IPv4 address, and SLAAC will be used to get an IPv6 address. It's normal for ip addr show eth0 to give you something like: 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether fc:ab:14:a9:92:db brd ff:ff:ff:ff:ff:ff inet 10.2.0.2/16 brd 10.2.255.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::feaa:14ff:fea9:92db/64 scope link valid_lft forever preferred_lft forever which shows both IPv4 and IPv6 addresses assigned to eth0. -dsr-
Correct: Re: Output from apt-get update.
From: Francisco M Neto Date: Wed, 12 Jun 2019 07:27:28 -0300 > It's also worth checking if there's anything under > /etc/apt/sources.list.d/ You're right. If /etc/apt/sources.list.d/mythtv.list is disabled, apt-get update doesn't produce obscure complaints. The complaints from apt-get could help by identifying the bad repository. A D-link card gives a network connection. The mainboard NIC alone is problematic. ?? So the system working again, more or less. I'm still wondering about IPv4 vs. IPv6 and ip vs. other stuff. Thanks for the help, ... P. -- https://en.wikibooks.org/wiki/Oberon Tel: +1 604 670 0140Bcc: peter at easthope. ca
Re: Output from apt-get update.
On 7/2/19 5:18 PM, pe...@easthope.ca wrote: > From: Francisco M Neto > Date: Wed, 12 Jun 2019 07:27:28 -0300 >> It's also worth checking if there's anything under >> /etc/apt/sources.list.d/ > peter@imager:~$ ls /etc/apt/sources.list.d/* > /etc/apt/sources.list.d/mythtv.list > peter@imager:~$ > > With any luck, mythtv.list isn't involved in this conundrum. Something tells me that it is worth a look. What are the contents of /etc/apt/sources.list.d/mythtv.list ? -Matt signature.asc Description: OpenPGP digital signature
Re: Output from apt-get update.
From: Francisco M Neto Date: Wed, 12 Jun 2019 07:27:28 -0300 > It's also worth checking if there's anything under > /etc/apt/sources.list.d/ peter@dalton:/etc/apt$ ls /etc/apt/sources.list.d/* ls: cannot access '/etc/apt/sources.list.d/*': No such file or directory peter@dalton:/etc/apt$ peter@imager:~$ ls /etc/apt/sources.list.d/* /etc/apt/sources.list.d/mythtv.list peter@imager:~$ With any luck, mythtv.list isn't involved in this conundrum. The mainboard interface appears as eth0. "ip link show" reports eth0 is up. "ip addr show" reports an IPv6 address for eth0. No IPv4 address. ping to a neighbour reports connect: network is unreachable Is IPv6 the default now? Shorewall configuration needs updating? Online documentation still has numerous mentions of ifconfig. https://wiki.debian.org/NetworkConfiguration is a prime example. Here and there a remark that ip is the new tool replacing ifconfig and etc. Difficult for a non-expert to decide when to use and old command and when a shiney new one. 8~( Any further ideas? Thanks,... P. -- https://en.wikibooks.org/wiki/Oberon Tel: +1 604 670 0140Bcc: peter at easthope. ca
Re: Output from apt-get update.
From: Matthew Crews Date: Wed, 12 Jun 2019 06:00:26 +0200 (CEST) > What does your "/etc/apt/sources.list" file look like on your two machines? Here they are. # imager:/etc/apt/sources.list # Security updates deb http://security.debian.org/ stretch/updates main contrib non-free deb-src http://security.debian.org/ stretch/updates main contrib non-free # mirror.it.ubc.ca = 137.82.116.42 deb http://137.82.116.42/debian stretch main contrib non-free deb-src http://137.82.116.42/debian stretch main contrib non-free # stretch-updates, previously known as 'volatile' deb http://137.82.116.42/debian stretch-updates main contrib non-free deb-src http://137.82.116.42/debian stretch-updates main contrib non-free # stretch backports deb http://137.82.116.42/debian stretch-backports main contrib non-free deb-src http://137.82.116.42/debian stretch-backports main contrib non-free # dalton:/etc/apt/sources.list # Security updates deb http://security.debian.org/ stretch/updates main contrib non-free deb-src http://security.debian.org/ stretch/updates main contrib non-free # mirror.it.ubc.ca = 137.82.116.42 deb http://137.82.116.42/debian stretch main contrib non-free deb-src http://137.82.116.42/debian stretch main contrib non-free # debian.oregonstate.edu = 140.211.166.134 #deb http://140.211.166.141/debian jessie main contrib non-free #deb-src http://140.211.166.141/debian jessie main contrib non-free # Stable updates deb http://137.82.116.42/debian stretch-updates main contrib non-free deb-src http://137.82.116.42/debian stretch-updates main contrib non-free # Stable backports deb http://137.82.116.42/debian stretch-backports main contrib non-free deb-src http://137.82.116.42/debian stretch-backports main contrib non-free As I see, sources.list from the two systems are identical, except for comments. > Its unusual to directly point to an IP address for the Debian repos, as > opposed to point to the domain name. dalton has dnsmasq. From distant recollection, name resolution failed when the system was running and dnsmasq was not. That motivated direct reference to IP addresses. To the best of my knowledge, an IP address should suffice to identify a server or possibly a cluster of them. I don't understand the intent or meaning of the hypothetical long path cited repeatedly. Eg. root@imager:/home/peter# apt-get update Get:1 file:/full/path/to/build/packaging/deb ./ InRelease Ign:1 file:/full/path/to/build/packaging/deb ./ InRelease Get:2 file:/full/path/to/build/packaging/deb ./ Release Ign:2 file:/full/path/to/build/packaging/deb ./ Release Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US ... Whereas dalton just confirms the sources.list root@dalton:/home/peter# apt-get update Ign:1 http://137.82.116.42/debian stretch InRelease Hit:2 http://137.82.116.42/debian stretch-updates InRelease Hit:3 http://137.82.116.42/debian stretch-backports InRelease Hit:4 http://137.82.116.42/debian stretch Release Hit:5 http://security.debian.org stretch/updates InRelease Reading package lists... Done root@dalton:/home/peter# Any ideas about that? Incidentally, what is "Ign"? Thanks,... P. -- https://en.wikibooks.org/wiki/Oberon Tel: +1 604 670 0140Bcc: peter at easthope. ca
Re: Output from apt-get update.
On Wed, 2019-06-12 at 06:00 +0200, Matthew Crews wrote: > On 6/11/19 7:28 PM, pe...@easthope.ca wrote: > **SNIP* > > What does your "/etc/apt/sources.list" file look like on your two > machines? > > Its unusual to directly point to an IP address for the Debian repos, > as opposed to point to the domain name. It's also worth checking if there's anything under /etc/apt/sources.list.d/ -- []'s, Francisco M Neto GPG: 4096R/D692FBF0 signature.asc Description: This is a digitally signed message part
Re: Output from apt-get update.
Hi Peter, On Tue, Jun 11, 2019 at 07:28:12PM -0700, pe...@easthope.ca wrote: > E: Failed to fetch file:/full/path/to/build/packaging/deb/./Packages File > not found - /full/path/to/build/packaging/deb/./Packages (2: No such file or > directory) > E: Some index files failed to download. They have been ignored, or old ones > used instead. > root@imager:/home/peter# > > The last two lines, "E: ...", appear to be error messages. The two > systems have the same /etc/apt/sources.list. Any ideas about the > difficulty in imager? The second machine seems to have additional sources. They may be in a file under /etc/apt/sources.list.d/ rather than in /etc/apt/sources.list itself. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: Output from apt-get update.
On 6/11/19 7:28 PM, pe...@easthope.ca wrote: **SNIP* What does your "/etc/apt/sources.list" file look like on your two machines? Its unusual to directly point to an IP address for the Debian repos, as opposed to point to the domain name. signature.asc Description: OpenPGP digital signature
Output from apt-get update.
On my workstation, apt-get echoes the locations from which package information is retrieved. No problems evident. root@dalton:/home/peter# apt-get update Ign:1 http://137.82.116.42/debian stretch InRelease Hit:2 http://137.82.116.42/debian stretch-updates InRelease Hit:3 http://security.debian.org stretch/updates InRelease Hit:4 http://137.82.116.42/debian stretch-backports InRelease Hit:5 http://137.82.116.42/debian stretch Release Reading package lists... Done root@dalton:/home/peter# Another machine gives this output. root@imager:/home/peter# apt-get update Get:1 file:/full/path/to/build/packaging/deb ./ InRelease Ign:1 file:/full/path/to/build/packaging/deb ./ InRelease Get:2 file:/full/path/to/build/packaging/deb ./ Release Ign:2 file:/full/path/to/build/packaging/deb ./ Release Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:5 http://137.82.116.42/debian stretch InRelease Get:6 file:/full/path/to/build/packaging/deb ./ Translation-en Ign:6 file:/full/path/to/build/packaging/deb ./ Translation-en Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Hit:7 http://137.82.116.42/debian stretch-updates InRelease Hit:8 http://security.debian.org stretch/updates InRelease Hit:9 http://137.82.116.42/debian stretch-backports InRelease Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Get:6 file:/full/path/to/build/packaging/deb ./ Translation-en Ign:6 file:/full/path/to/build/packaging/deb ./ Translation-en Hit:10 http://137.82.116.42/debian stretch Release Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Get:6 file:/full/path/to/build/packaging/deb ./ Translation-en Ign:6 file:/full/path/to/build/packaging/deb ./ Translation-en Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Get:6 file:/full/path/to/build/packaging/deb ./ Translation-en Ign:6 file:/full/path/to/build/packaging/deb ./ Translation-en Get:3 file:/full/path/to/build/packaging/deb ./ Packages Ign:3 file:/full/path/to/build/packaging/deb ./ Packages Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Get:6 file:/full/path/to/build/packaging/deb ./ Translation-en Ign:6 file:/full/path/to/build/packaging/deb ./ Translation-en Get:3 file:/full/path/to/build/packaging/deb ./ Packages Err:3 file:/full/path/to/build/packaging/deb ./ Packages File not found - /full/path/to/build/packaging/deb/./Packages (2: No such file or directory) Get:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Ign:4 file:/full/path/to/build/packaging/deb ./ Translation-en_US Reading package lists... Done E: Failed to fetch file:/full/path/to/build/packaging/deb/./Packages File not found - /full/path/to/build/packaging/deb/./Packages (2: No such file or directory) E: Some index files failed to download. They have been ignored, or old ones used instead. root@imager:/home/peter# The last two lines, "E: ...", appear to be error messages. The two systems have the same /etc/apt/sources.list. Any ideas about the difficulty in imager? Thanks, ... Peter E. -- Composed and transmitted by software designed to avoid the complication and vulnerability of antivirus software. Tel: +1 604 670 0140Bcc: peter at easthope. ca