[SOLVED] cannot upgrade ubuntu apt version too old?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
You might try adding the correct repositories to
Code:
/etc/apt/sources.list
I don't user Ubuntu. But you just need to follow the pattern in that file with some new names. If anything, leave the old lines intact, or comment them with '#' in front, but don't delete them.
Trying to upgrade over two release versions is generally not recommended and likely will not work out well. If I recall my Ubuntu days properly, it's recommended that you upgrade to each intervening version in sequence one by one.
You aren't clear as to whether you have v. 14.04 or v. 14.10. If you do a search of "LXQT Ubuntu 14.[release]" you may find a PPA that will enable you to get LXQT for your install. If so, you should be able to run it along side LXDE. It's perfectly acceptable to have multiple desktop environments/window managers in the same system and to switch among them (Slackware comes with six GUI environments out of the box).
Full disclosure: I have never used a PPA.
(As an aside, if I install LXDE, the next thing I do is install the LXDE Menu Editor.)
Incidentally IMO Lxqt doesn't improve much on LXDE,
and the menu configuration requires too much editing.
Most applications today support drag and drop or at least right click and add to menu panel.
Last edited by tech-support; 12-02-2016 at 10:14 PM.
If you are trying to jump from 14.04 LTS to the newer 16.04 LTS the best method I have always found is to back up files and install the new version. Upgrading over three other versions (14.10, 15.04, 15.10) is a lot. I would recommend you get the iso make a usb or dvd and after backing up your files (if you have a separate /home partition you can reinstall and just not format that partition--still back up anything you do not want to risk losing)
Upgrading over three other versions (14.10, 15.04, 15.10) is a lot. I would recommend you get the iso make a usb or dvd and after backing up your files
Thank you for your advice.
What do you think of the method to upgrade one version at a time?
Can this be specified using apt-get?
Incidentally IMO Lxqt doesn't improve much on LXDE,
and the menu configuration requires too much editing.
Most applications today support drag and drop or at least right click and add to menu panel.
Ubututututututu is funny that way, everyone can make up their own repo that is not added to the main repo, that is why you and others may not always find what they are looking for in the main repo, because of what I stated already, which you can see by how you added more repo's to get what you wanted.
What do you think of the method to upgrade one version at a time?
Can this be specified using apt-get?
eg. apt-get upgrade [version]
You *MIGHT* be able to, but I sure wouldn't trust the system afterwards. I've had many bad experiences with in-place upgrades, and always prefer to back up data/configs, format, and do a fresh load if I'm jumping versions. Libraries/links/versions may get left behind and you get some....'interesting' results.
14 to 16 is too big a leap, as others have said. Do yourself a favor and do a fresh load. You're already looking at downtime/reboots anyway, so you may as well do it right. If you want to be *REALLY* safe, grab another hard drive, and a cheap USB-to-SATA adapter, and load the new version to the new drive. If things go pear-shaped, shove the old drive back in, which is untouched and working, and you're back in business in minutes. After that, you can always copy config files/data from the old drive to the new via USB.
What do you think of the method to upgrade one version at a time?
Can this be specified using apt-get?
eg. apt-get upgrade [version]
Thank you.
In between-er Ubuntus are only good for 6 months before they shut down the repos and move on to the next release. So your one version at a time logic is nonviable.
Funny user name going with that mindset. Grinning affectionately.
Edit: Aint version 14.04 LTS good till 2019? What's the hurry?
What do you think of the method to upgrade one version at a time?
That will be difficult and not necessary. According to the Ubuntu site, you can do a direct upgrade from an LTS version (14.04) to another LTS version. If you start with a non-LTS version, you need to incrementally upgrade. For example, if you had 14.10 you would first need to go to 15.04, then to 15.10 and finally to 16.04. The problem with this is that after the nine month support period for non-LTS releases, the repositories are moved (archived) and you would need to put the new location in the sources.list file before beginning. Not worth the trouble. I did one upgrade from an LTS to a new LTS and I can assure you it will take at least three times as long as a new install. Additionally, you have the problem of losing your internet connection, a power outage and any number of potential problems. Much simpler and safer to do backups and a new install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.