LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-01-2017, 11:48 AM   #1
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Updating AntiX from 16 to 17. Can I do it via apt?


I notice that AntiX-17 is finally out. I would like to know if AntiX-16 can be upgraded to AntiX-17 by editing /etc/apt/sources and then doing an apt-get distupgrade. This is the preferred way of upgrading Debian, but I don't know if it would work in AntiX, which has a much more complex repository structure.
 
Old 11-01-2017, 02:18 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,754

Rep: Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541
In the past, they've only mentioned in-place upgrading for minor versions, like 16.1 to 16.2, and the release notes for full versions don't mention it. I notice that there are quite a few new things in 17, so I'd not risk it. But as a LFS user, you're braver than I!
 
Old 11-01-2017, 02:51 PM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 2,050

Rep: Reputation: Disabled
If you've got a separate /home, just install 17 over 16; if you haven't got a separate /home, now you know why you should.
 
Old 11-01-2017, 03:46 PM   #4
anticapitalista
Member
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 383

Rep: Reputation: 105Reputation: 105
It is possible, but YMMV

https://www.antixforum.com/forums/to...de-to-antix17/
 
2 members found this post helpful.
Old 11-02-2017, 03:30 AM   #5
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Just reinstall sounds lovely, but last night I remembered that oldboy can't boot from usb. And the full AntiX-17 image is too big for a CD (the first time in AntiX history that that's happened, I think). I could do a smaller install and then add packages like libreoffice and cups, but if updating in situ can work, then I think I'll try it.

I don't have a separate home partition on oldboy but that's because I don't keep any data on it. I only use it as a print server. It hosts the only working printer that I have right now. I originally intended to dump to it too, but I had to give that idea up because the hard drive isn't big enough to take bigboy's dumps. Nowadays I dump by ftp to littleboy, my laptop. Life gets complicated!

If I wanted to use a usb stick with the new image as an apt source to save on downloading, what would I have to add to my sources list?
 
Old 11-02-2017, 12:45 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,754

Rep: Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541
That looks simple enough
http://forums.debian.net/viewtopic.php?t=128635

Incidentally, I had a "senior moment" the other day: I now distinctly remember updating from 13.37 via the internet, following the very precise instructions on what to add and what to delete!
 
Old 11-02-2017, 01:05 PM   #7
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Your reference is to use of a physical cd/dvd. I found a few of those but none for for an iso image on a usb drive.

Further: I just mounted the drive on bigboy to take a look at it. Everything except the boot files is in a squashfs. I can't use that as a repository, unless I can persuade apt that the whole iso image is actually a cdrom. Which is worth trying I suppose.

Last edited by hazel; 11-02-2017 at 01:24 PM.
 
Old 11-02-2017, 02:43 PM   #8
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 2,050

Rep: Reputation: Disabled
The 'Base' version of AntiX still fits on a CD, you could use that to install with.
Possibly, unpack the squashfs of 'full' on another machine, & copy what you want; or just download the .deb's that you want, copy to your new install & use 'dpkg -i' to install.
 
1 members found this post helpful.
Old 11-02-2017, 04:20 PM   #9
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Quote:
Originally Posted by fatmac View Post
Possibly, unpack the squashfs of 'full' on another machine, & copy what you want; or just download the .deb's that you want, copy to your new install & use 'dpkg -i' to install.
Now that's a brilliant idea! I can certainly unpack it on bigboy using Debian, maybe even on littleboy using AntiX itself. That has a stock kernel so it probably has the squashfs driver. But I wouldn't like to use dpkg because of the dependency problem.

Apparently, all you need to do with a directory of deb packages to make it fully usable by apt is to use a tool called dpkg-scanpackages (it's in dpkg-dev) to create an index, then add the url for the directory to /etc/apt/sources.list.
 
Old 11-06-2017, 10:50 AM   #10
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Just to update:

I mounted the iso image, then mounted the squash image inside it and had a look at it. No joy there! No .deb packages at all, just a fully installed AntiX system. Looks like installation to the hard drive is a simple copying job; there's no unpacking at all. So, as I can't actually boot from that stick, I wasted time and bandwidth making it.

I'm going to try to update it over the Internet. That's the best solution, I think.
 
Old 12-01-2017, 02:30 AM   #11
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
I ran the grand update on oldboy yesterday. It took nearly four hours! Well, it's an old machine with very little processing power by modern standards, and the Internet connection is a slow one via a wifi dongle.

So far I've not been able to get a working desktop. X is running but you can't see anything on the screen, just a thin blue stripe at the top. I logged in blind and the disk noises told me that my login had been accepted and my desktop loaded so it's probably a video driver problem. I can log in at a console of course.

I will try installing a package called xserver-xorg-legacy, which this AntiX release provides, presumably because the new xserver-xorg doesn't work on all machines. Hopefully this will get my desktop back, but if the worst comes to the worst, I will still be able to run the machine in text mode as a print server. Not that I really need a print server now that I have got my new Brother printer on bigboy.

PS I'm still running the old kernel. Apt-get didn't offer me a new one.

Last edited by hazel; 12-01-2017 at 02:46 AM.
 
Old 12-01-2017, 12:47 PM   #12
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,589
Blog Entries: 3

Original Poster
Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
OK, the desktop is fixed. The problem was that X was using the vesa driver, which is supposed to be general-purpose but doesn't work on oldboy's archaic intel chip. I edited xorg.conf to replace vesa with intel and now it works. Curiously I still have the same wallpaper as before.

I checked out kernels in synaptic. According to online info, AntiX-17 uses 4.10, but the newest that synaptic showed me was 4.9. I await enlightenment.

Conky doesn't work and I don't know why. I get a display but the actual numbers and graphs are blocked out. Somehow the data isn't getting through.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating Antix 8.5? blakey Linux - Distributions 3 04-22-2011 01:32 PM
Updating KDE with apt drew boardman Linux - General 17 10-09-2006 12:04 PM
Updating packages through apt-get tuxuser19 Debian 8 10-26-2005 11:30 AM
erro updating with apt-get toddncl Linux - Software 1 08-20-2004 08:22 AM
updating kernel without apt-get! restless Debian 5 02-11-2004 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration