Re: configure sources.list
I did the following to work around it; apt-get install wget wget http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-misc-nonfree_20160824-1_all.deb md5sum firmware-misc-nonfree_20160824-1_all.deb dpkg -i firmware-misc-nonfree_20160824-1_all.deb apt-get install -f but it like the automated version. Rod On 11/14/2016 4:01 PM, James Clarke wrote: >> On 14 Nov 2016, at 21:55, John Paul Adrian Glaubitz >> wrote: >>> On 11/14/2016 10:53 PM, James Clarke wrote: >>> Except it’s not in main (the clue’s in the name)... >> >> Right. Then it's probably a good idea to add "contrib" and "non-free" >> with [arch=all] to the sources.list on any machine running a ports >> architecture. >> >> I think that should work, e.g: >> >> deb [arch=all] ftp://ftp.de.debian.org/debian contrib non-free > > I didn’t know all could now be treated as a proper architecture, but > it does work. You missed off the codename though: > > deb [arch=all] http://ftp.de.debian.org/debian unstable contrib non-free > > Replace ftp.de.debian.org with your favourite mirror (same one you would > use for amd64). > > James >
Re: configure sources.list
> On 14 Nov 2016, at 21:55, John Paul Adrian Glaubitz > wrote: >> On 11/14/2016 10:53 PM, James Clarke wrote: >> Except it’s not in main (the clue’s in the name)... > > Right. Then it's probably a good idea to add "contrib" and "non-free" > with [arch=all] to the sources.list on any machine running a ports > architecture. > > I think that should work, e.g: > > deb [arch=all] ftp://ftp.de.debian.org/debian contrib non-free I didn’t know all could now be treated as a proper architecture, but it does work. You missed off the codename though: deb [arch=all] http://ftp.de.debian.org/debian unstable contrib non-free Replace ftp.de.debian.org with your favourite mirror (same one you would use for amd64). James
Re: configure sources.list
On 11/14/2016 10:53 PM, James Clarke wrote: > Except it’s not in main (the clue’s in the name)... Right. Then it's probably a good idea to add "contrib" and "non-free" with [arch=all] to the sources.list on any machine running a ports architecture. I think that should work, e.g: deb [arch=all] ftp://ftp.de.debian.org/debian contrib non-free Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: configure sources.list
> On 14 Nov 2016, at 21:51, John Paul Adrian Glaubitz > wrote: > > On 11/14/2016 10:29 PM, rod wrote: >> Suggestions on how to get rid of the tg3 error? Should I even be >> bothered by them as it does connect to the internet? > > APT says, the firmware files are in the firmware-misc-nonfree package: > > glaubitz@ikarus:~$ apt-cache search tg3_tso5.bin > firmware-misc-nonfree - Binary firmware for various drivers in the Linux > kernel > glaubitz@ikarus:~$ > > So, just installing the package with: > > $ apt install firmware-misc-nonfree > > should fix the issue. Except it’s not in main (the clue’s in the name)... James
Re: configure sources.list
On 11/14/2016 10:29 PM, rod wrote: > Suggestions on how to get rid of the tg3 error? Should I even be > bothered by them as it does connect to the internet? APT says, the firmware files are in the firmware-misc-nonfree package: glaubitz@ikarus:~$ apt-cache search tg3_tso5.bin firmware-misc-nonfree - Binary firmware for various drivers in the Linux kernel glaubitz@ikarus:~$ So, just installing the package with: $ apt install firmware-misc-nonfree should fix the issue. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: configure sources.list
Hi Rod, On Mon, 2016-11-14 at 15:29 -0600, rod wrote: > > Suggestions on how to get rid of the tg3 error? Should I even be > bothered by them as it does connect to the internet? Checking the firmware-misc-nonfree content these bin files are in ... https://packages.debian.org/nl/sid/all/firmware-misc-nonfree/filelist Thanks, Frans van Berckel
Re: configure sources.list
See bottom... On 11/14/2016 3:27 PM, James Clarke wrote: >> On 14 Nov 2016, at 21:18, rod wrote: >>> On 11/14/2016 9:51 AM, John Paul Adrian Glaubitz wrote: On 11/14/2016 04:34 PM, rod wrote: Thanks for the quick response. Now I know how my day is going to go. I think I have another functioning machine which I will put a fresh install on and investigate packages and migrate from old to new. I now the information on how to do this is within the list so I'll dig around and see if I can consolidate it into one document. (Wish me luck!) >>> >>> I wrote a small guide which should help you getting Debian/sparc64 >>> installed: >>> https://lists.debian.org/debian-sparc/2016/06/msg00126.html >>> >>> Adrian >>> >> >> Thanks Adrian! >> >> I've gotten the new machine up with few problems not covered in your >> document. >> >> I've got the following error messages: >> W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 >> W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 >> W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 >> >> Can I add the following: >> deb http://ftp.us.debian.org/debian unstable main contrib non-free >> deb http://ftp.debian.org/debian/ Sid-updates main contrib non-free >> deb http://security.debian.org/ Sid/updates main contrib non-free >> >> # SOURCE >> deb-src http://ftp.us.debian.org/debian unstable main contrib non-free >> deb-src http://ftp.debian.org/debian/ Sid-updates main contrib non-free >> deb-src http://security.debian.org/ Sid/updates main contrib non-free >> >> or will it blow things up? > > That won’t work; sparc64 is only available from debian-ports (ie from > ftp.ports.debian.org/debian-ports or a handful of other mirrors). There’s > no equivalent of contrib/non-free either (we have enough work as it is > getting all of main to work). The security and -updates suites are only > available for testing and below, even on release architectures, not sid. > Nothing will blow up; apt will just moan at you saying it can’t find > sparc64 for each of those (but just a warning; things will still work). > > James > Suggestions on how to get rid of the tg3 error? Should I even be bothered by them as it does connect to the internet? Rod
Re: configure sources.list
> On 14 Nov 2016, at 21:18, rod wrote: >> On 11/14/2016 9:51 AM, John Paul Adrian Glaubitz wrote: >>> On 11/14/2016 04:34 PM, rod wrote: >>> Thanks for the quick response. Now I know how my day is going to go. I >>> think I have another functioning machine which I will put a fresh >>> install on and investigate packages and migrate from old to new. >>> >>> I now the information on how to do this is within the list so I'll dig >>> around and see if I can consolidate it into one document. (Wish me luck!) >> >> I wrote a small guide which should help you getting Debian/sparc64 installed: >> >>> https://lists.debian.org/debian-sparc/2016/06/msg00126.html >> >> Adrian >> > > Thanks Adrian! > > I've gotten the new machine up with few problems not covered in your > document. > > I've got the following error messages: > W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 > W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 > W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 > > Can I add the following: > deb http://ftp.us.debian.org/debian unstable main contrib non-free > deb http://ftp.debian.org/debian/ Sid-updates main contrib non-free > deb http://security.debian.org/ Sid/updates main contrib non-free > > # SOURCE > deb-src http://ftp.us.debian.org/debian unstable main contrib non-free > deb-src http://ftp.debian.org/debian/ Sid-updates main contrib non-free > deb-src http://security.debian.org/ Sid/updates main contrib non-free > > or will it blow things up? That won’t work; sparc64 is only available from debian-ports (ie from ftp.ports.debian.org/debian-ports or a handful of other mirrors). There’s no equivalent of contrib/non-free either (we have enough work as it is getting all of main to work). The security and -updates suites are only available for testing and below, even on release architectures, not sid. Nothing will blow up; apt will just moan at you saying it can’t find sparc64 for each of those (but just a warning; things will still work). James
Re: configure sources.list
Thanks Adrian! I've gotten the new machine up with few problems not covered in your document. I've got the following error messages: W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 Can I add the following: deb http://ftp.us.debian.org/debian unstable main contrib non-free deb http://ftp.debian.org/debian/ Sid-updates main contrib non-free deb http://security.debian.org/ Sid/updates main contrib non-free # SOURCE deb-src http://ftp.us.debian.org/debian unstable main contrib non-free deb-src http://ftp.debian.org/debian/ Sid-updates main contrib non-free deb-src http://security.debian.org/ Sid/updates main contrib non-free or will it blow things up? Rod On 11/14/2016 9:51 AM, John Paul Adrian Glaubitz wrote: > On 11/14/2016 04:34 PM, rod wrote: >> Thanks for the quick response. Now I know how my day is going to go. I >> think I have another functioning machine which I will put a fresh >> install on and investigate packages and migrate from old to new. >> >> I now the information on how to do this is within the list so I'll dig >> around and see if I can consolidate it into one document. (Wish me luck!) > > I wrote a small guide which should help you getting Debian/sparc64 installed: > >> https://lists.debian.org/debian-sparc/2016/06/msg00126.html > > Adrian >
Re: configure sources.list
On 11/14/2016 04:34 PM, rod wrote: > Thanks for the quick response. Now I know how my day is going to go. I > think I have another functioning machine which I will put a fresh > install on and investigate packages and migrate from old to new. > > I now the information on how to do this is within the list so I'll dig > around and see if I can consolidate it into one document. (Wish me luck!) I wrote a small guide which should help you getting Debian/sparc64 installed: > https://lists.debian.org/debian-sparc/2016/06/msg00126.html Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: configure sources.list
Thanks for the quick response. Now I know how my day is going to go. I think I have another functioning machine which I will put a fresh install on and investigate packages and migrate from old to new. I now the information on how to do this is within the list so I'll dig around and see if I can consolidate it into one document. (Wish me luck!) Rod On 11/14/2016 9:29 AM, James Clarke wrote: > Hi Rod, >> On 14 Nov 2016, at 15:21, rod wrote: >> >> Good morning (CDT), >> >> Q: If I change to sources.list to what's below on a machine running; >> >> rod@cplus:~$ uname -a >> Linux cplus 3.2.0-4-sparc64 #1 Debian 3.2.68-1+deb7u3 sparc64 GNU/Linux >> >> and go through the update process, will it bring the machine to our >> current level; >> >> rod@ravirin~$uname -a >> Linux ravirin 4.9.0-rc2+ #3 SMP Thu Oct 27 01:17:17 BST 2016 sparc64 >> GNU/Linux >> >> ? >> >> I would like to update the first machine without having to load it from >> scratch. > > This is uncharted waters. You’ll be trying to cross-grade[1] (sparc32 to > sparc64 userland) and skip a release (no jessie as a stepping-stone). > Unfortunately, I really don’t see a way in which this will work without > a world of pain. Even going from i386->amd64 on the same release is not > recommended (though possible). I strongly suggest you reinstall; you can > get a list of the installed packages with `dpkg --get-selections`, but > this will need to be hand-inspected rather than blindly installing > everything there on the new system, since packages will have been renamed, > especially shared libraries. > > Regards, > James > > [1] https://wiki.debian.org/CrossGrading >
Re: configure sources.list
Hi Rod, > On 14 Nov 2016, at 15:21, rod wrote: > > Good morning (CDT), > > Q: If I change to sources.list to what's below on a machine running; > > rod@cplus:~$ uname -a > Linux cplus 3.2.0-4-sparc64 #1 Debian 3.2.68-1+deb7u3 sparc64 GNU/Linux > > and go through the update process, will it bring the machine to our > current level; > > rod@ravirin~$uname -a > Linux ravirin 4.9.0-rc2+ #3 SMP Thu Oct 27 01:17:17 BST 2016 sparc64 > GNU/Linux > > ? > > I would like to update the first machine without having to load it from > scratch. This is uncharted waters. You’ll be trying to cross-grade[1] (sparc32 to sparc64 userland) and skip a release (no jessie as a stepping-stone). Unfortunately, I really don’t see a way in which this will work without a world of pain. Even going from i386->amd64 on the same release is not recommended (though possible). I strongly suggest you reinstall; you can get a list of the installed packages with `dpkg --get-selections`, but this will need to be hand-inspected rather than blindly installing everything there on the new system, since packages will have been renamed, especially shared libraries. Regards, James [1] https://wiki.debian.org/CrossGrading
Re: configure sources.list
On 11/14/2016 04:21 PM, rod wrote: > rod@cplus:~$ uname -a > Linux cplus 3.2.0-4-sparc64 #1 Debian 3.2.68-1+deb7u3 sparc64 GNU/Linux That's the kernel version, not the version of the Linux installed. However, from the kernel version suffix, it's easy to tell that's the kernel used in Debian Wheezy. What you want is: glaubitz@ikarus:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux buildd-unstable (sid) Release:buildd-unstable Codename: sid glaubitz@ikarus:~$ > and go through the update process, will it bring the machine to our > current level; > > rod@ravirin~$uname -a > Linux ravirin 4.9.0-rc2+ #3 SMP Thu Oct 27 01:17:17 BST 2016 sparc64 > GNU/Linux > > ? No. You cannot dist-upgrade a Debian installation running "sparc" to a "sparc64" installation. You might be confused by the fact that "uname -a" on the Wheezy machine printed "sparc64". However, that's only because Debian has been using 64-bit kernel by default even on 32-bit sparc installations. > I would like to update the first machine without having to load it from > scratch. I'm afraid you have to reinstall the system unless you are skilled enough to deal with different chroots and swap the old root filesystem with the new one. But that's a bit tricky and not recommended unless you know what you're doing. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: configure sources.list
Good morning (CDT), Q: If I change to sources.list to what's below on a machine running; rod@cplus:~$ uname -a Linux cplus 3.2.0-4-sparc64 #1 Debian 3.2.68-1+deb7u3 sparc64 GNU/Linux and go through the update process, will it bring the machine to our current level; rod@ravirin~$uname -a Linux ravirin 4.9.0-rc2+ #3 SMP Thu Oct 27 01:17:17 BST 2016 sparc64 GNU/Linux ? I would like to update the first machine without having to load it from scratch. Rod On 11/9/2016 4:08 AM, John Paul Adrian Glaubitz wrote: > On 11/09/2016 02:14 AM, Adrian Blake wrote: >> I have tried to setup sources.list but errors. >> What should it look like? > > Try: > > $ wget https://people.debian.org/~glaubitz/sources.list -O > /etc/apt/sources.list > $ gpg --keyserver pgp.mit.edu --recv-keys 705A2CE1 > $ gpg --export 705A2CE1 --armor | apt-key add - > $ apt update > > Adrian > > PS: Please don't forget to keep the mailing list in CC! >