LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-02-2016, 08:22 PM   #1
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Rep: Reputation: Disabled
cannot upgrade ubuntu apt version too old?


I've been trying ubuntu for a few months with LXDE.

I wanted to automatically upgrade from 14 to 16 and the upgrade manager complains that the apt version is not >= 1.0

However, when I try to update apt-get, I am told that it is already the latest version.

Thank you for any help.

Last edited by tech-support; 12-02-2016 at 10:08 PM. Reason: fixed one problem
 
Old 12-02-2016, 08:58 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
1 members found this post helpful.
Old 12-02-2016, 09:07 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,537
Blog Entries: 28

Rep: Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205
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.)

Last edited by frankbell; 12-02-2016 at 09:08 PM.
 
1 members found this post helpful.
Old 12-02-2016, 10:10 PM   #4
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
I never heard of lxmed; I will give it a try.

edit: again, apt-get cannot find this application unfortunately.
It's curious why these applications are not found on the standard repositories.


I finally got Lxqt working by adding the below repositories.

sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
sudo add-apt-repository ppa:gilir/q-project
sudo apt-get update
sudo apt-get install openbox obconf
sudo apt-get install lxqt-metapackage lxqt-panel

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.
 
Old 12-02-2016, 10:21 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,537
Blog Entries: 28

Rep: Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205
You will need to install lxmed from the Sourceforge link. The "Download" page has a link to instructions for installing it.
 
1 members found this post helpful.
Old 12-02-2016, 10:26 PM   #6
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
My ubuntu version is 14.04

I tried once again to upgrade and the error message is

"The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed. "

Certainly apt is installed and when I try to upgrade it, the system says that it is the newest version.

Code:
$ apt-get --help
apt 1.0.1ubuntu2

Last edited by tech-support; 12-02-2016 at 10:30 PM.
 
Old 12-03-2016, 02:57 PM   #7
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Is there an alternative method to upgrade ubuntu ?

Thanks in advance.
 
Old 12-03-2016, 03:22 PM   #8
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Ubuntu
Posts: 971

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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)
 
Old 12-03-2016, 03:59 PM   #9
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jkirchner View Post
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?

eg. apt-get upgrade [version]

Thank you.
 
Old 12-03-2016, 04:11 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by tech-support View Post
I never heard of lxmed; I will give it a try.

edit: again, apt-get cannot find this application unfortunately.
It's curious why these applications are not found on the standard repositories.


I finally got Lxqt working by adding the below repositories.

sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
sudo add-apt-repository ppa:gilir/q-project
sudo apt-get update
sudo apt-get install openbox obconf
sudo apt-get install lxqt-metapackage lxqt-panel

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.
 
Old 12-03-2016, 04:23 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,117

Rep: Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044
Quote:
Originally Posted by tech-support View Post
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?

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.

Last edited by TB0ne; 12-03-2016 at 04:24 PM.
 
Old 12-03-2016, 06:05 PM   #12
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,250
Blog Entries: 21

Rep: Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499Reputation: 3499
Quote:
Originally Posted by tech-support View Post
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?

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?

Last edited by rokytnji; 12-03-2016 at 06:08 PM.
 
Old 12-04-2016, 06:52 AM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
terminal>
Code:
sudo lsb_release -dc
output please.
 
Old 12-04-2016, 07:38 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,773

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
Quote:
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.
 
2 members found this post helpful.
Old 12-04-2016, 05:31 PM   #15
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
terminal>
Code:
sudo lsb_release -dc
output please.
Description: Ubuntu 14.04.3 LTS
Codename: trusty
 
  


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
Ubuntu 15.10 hangs when rebooting after apt-get upgrade mfoley Ubuntu 13 07-26-2016 11:50 AM
[SOLVED] HELP: How do I restore all my files that got erased by "apt-get dselect-upgrade" after failed upgrade from 32 to 64 bit Ubuntu 14.04 LTS judoka Linux - Newbie 11 03-05-2016 05:03 PM
sudo apt-get upgrade not working 14.04 ubuntu zeeshanayub Linux - Newbie 1 10-21-2014 08:15 PM
[SOLVED] how to upgrade ubuntu any version to any without losing last version golden_boy615 Linux - General 6 05-22-2011 12:21 PM
Installing old wine version with apt-get/synaptic on Ubuntu 8.04 ErV Ubuntu 2 10-09-2008 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 PM.

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
Open Source Consulting | Domain Registration