LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 10:48 AM   #1
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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, 01:18 PM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,074

Rep: Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680
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, 01:51 PM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Tiny Core, Debian based (Raspbian, RasPiDeskop), & sometimes OpenBSD
Posts: 2,533

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, 02:46 PM   #4
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 400

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

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

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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, 11:45 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,074

Rep: Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680Reputation: 1680
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, 12:05 PM   #7
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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 12:24 PM.
 
Old 11-02-2017, 01:43 PM   #8
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Tiny Core, Debian based (Raspbian, RasPiDeskop), & sometimes OpenBSD
Posts: 2,533

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, 03:20 PM   #9
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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, 09:50 AM   #10
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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, 01:30 AM   #11
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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 01:46 AM.
 
Old 12-01-2017, 11:47 AM   #12
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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.
 
Old 02-06-2018, 01:56 PM   #13
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Quote:
Originally Posted by hazel View Post
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.
I've sometimes had to kill conky and restart it to clear it up.
 
Old 02-07-2018, 05:46 AM   #14
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Tiny Core, Debian based (Raspbian, RasPiDeskop), & sometimes OpenBSD
Posts: 2,533

Rep: Reputation: Disabled
@ Hazel
I've just installed 4.14.14 kernel on my AntiX box the other day, it's the latest I know of, & it went without a hitch for me.

In my case it was,
Code:
sudo apt-get 4.14.14-antix.1-amd64-smp

Last edited by fatmac; 02-07-2018 at 05:51 AM.
 
Old 02-07-2018, 05:57 AM   #15
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Original Poster
Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
This is a very old thread and all the problems I described are solved now. For anyone who is still interested, here is an update:

For conky I just needed a special legacy package. The tiresome flickering of roxterm was solved by getting rid of it and using an alternative terminal. I installed Debian's new version of the 4.9 LTS kernel, which is patched for meltdown, and discovered by trial and error that I need the version with pae to get X to work. But everything works now.
 
  


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 12:32 PM
Updating KDE with apt drew boardman Linux - General 17 10-09-2006 11:04 AM
Updating packages through apt-get tuxuser19 Debian 8 10-26-2005 10:30 AM
erro updating with apt-get toddncl Linux - Software 1 08-20-2004 07:22 AM
updating kernel without apt-get! restless Debian 5 02-11-2004 03:02 AM

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

All times are GMT -5. The time now is 02:44 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