Can't upgrade from a release if ros packages are installed from ROS servers

Bug #1611737 reported by Pushin Sikuntagasamit on 2016-08-10
980
This bug affects 121 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Undecided
Unassigned

Bug Description

This message was appear when upgrade

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.8
ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
Uname: Linux 3.19.0-66-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Wed Aug 10 18:41:24 2016
InstallationDate: Installed on 2015-09-08 (336 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)

Pushin Sikuntagasamit (pushin) wrote :
summary: - Error message in the end of upgrade process
+ Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full installed
+ from ROS servers

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
summary: - Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full installed
- from ROS servers
+ Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros-
+ indigo-perception installed from ROS servers
tags: added: trusty2xenial

I'd reported a similar problem at Bug #1637781. I uninstalled all ros-indigo packages while leaving ros-jade installed, but still got "Could not calculate the upgrade" when attempting to upgrade 14.04 LTS to 16.04 LTS.

So this may be a problem with ros-jade as well as the older ros-indigo.

tags: added: bugpattern-written

Does the ROS crowd read this? Or does this need to be reported somewhere else?

I don't understand the questions. Can you explain please ?

Le 13 ينا, 2017 à م 09:07, LaunchpadLoginDefectReport a écrit :
> Does the ROS crowd read this? Or does this need to be reported somewhere
> else?

Pinar Demetci (pinar) wrote :

I am not sure if the question was directed at me, but in case it was, I
will explain my situation:

When the upgrade to 16.06 was available for Ubuntu (I currently have
14.04), I tried to upgrade a few times. However, I kept getting the
following error:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

 This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug using the command
'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

When I reported it to Ubuntu, I encountered other error reports with the
exact same description. They indicated that the error was due to some
conflict with the ros-indigo package. I do have this package, too. So this
may fall into the third category above: "Unofficial software packages not
provided by Ubuntu". However, I don't know why the conflict arises. Since I
need ros-indigo for certain projects, I never tried to uninstall it and
upgrade.

I am sorry for the limited information I have. Unfortunately, this is all I
know about the error.

Thanks,
Pinar.

On Sat, Jan 14, 2017 at 8:01 AM, Mohamed Zouhair HARBACHI <
<email address hidden>> wrote:

> I don't understand the questions. Can you explain please ?
>
>
> Le 13 ينا, 2017 à م 09:07, LaunchpadLoginDefectReport a écrit :
> > Does the ROS crowd read this? Or does this need to be reported somewhere
> > else?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1612947).
> https://bugs.launchpad.net/bugs/1611737
>
> Title:
> Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros-
> indigo-perception installed from ROS servers
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> Confirmed
>
> Bug description:
> This message was appear when upgrade
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: ubuntu-release-upgrader-core 1:0.220.8
> ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
> Uname: Linux 3.19.0-66-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.14.1-0ubuntu3.21
> Architecture: amd64
> CrashDB: ubuntu
> CurrentDesktop: Unity
> Date: Wed Aug 10 18:41:24 2016
> InstallationDate: Installed on 2015-09-08 (336 days ago)
> InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64
> (20150805)
> PackageArchitecture: all
> SourcePackage: ubuntu-release-upgrader
> UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-
> upgrader/+bug/1611737/+subscriptions
>

Download full text (3.6 KiB)

Thank you Pinar for your answer.

I am not working with Ubuntu team, but I received the mail :

Does the ROS crowd read this? Or does this need to be reported somewhere
else?

As I taught it was for me, I answered.

But as I met the same problem I will share with you my experience:

Indeed, it's a ROS problem.
I tried a lot of things to solve the problem, but all failed.
I reported the problem to Ubuntu, but the answer took times to come.
So I saved all my data in an external hard drive and formatted the disk
with the version 16 of Ubuntu.
Unlike Windows, when one install Ubuntu, a set of useful softwares
installs automatically with, so I did not have much to install and
configure behind, then things went fast.

Best regards

Mohamed Zouhair HARBACHI

Le 14 ينا, 2017 à م 02:53, Pinar Demetci a écrit :
> I am not sure if the question was directed at me, but in case it was, I
> will explain my situation:
>
> When the upgrade to 16.06 was available for Ubuntu (I currently have
> 14.04), I tried to upgrade a few times. However, I kept getting the
> following error:
>
> Could not calculate the upgrade
>
> An unresolvable problem occurred while calculating the upgrade.
>
> This can be caused by:
> * Upgrading to a pre-release version of Ubuntu
> * Running the current pre-release version of Ubuntu
> * Unofficial software packages not provided by Ubuntu
>
> If none of this applies, then please report this bug using the command
> 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
>
> When I reported it to Ubuntu, I encountered other error reports with the
> exact same description. They indicated that the error was due to some
> conflict with the ros-indigo package. I do have this package, too. So this
> may fall into the third category above: "Unofficial software packages not
> provided by Ubuntu". However, I don't know why the conflict arises. Since I
> need ros-indigo for certain projects, I never tried to uninstall it and
> upgrade.
>
> I am sorry for the limited information I have. Unfortunately, this is all I
> know about the error.
>
> Thanks,
> Pinar.
>
> On Sat, Jan 14, 2017 at 8:01 AM, Mohamed Zouhair HARBACHI <
> <email address hidden>> wrote:
>
>> I don't understand the questions. Can you explain please ?
>>
>>
>> Le 13 ينا, 2017 à م 09:07, LaunchpadLoginDefectReport a écrit :
>>> Does the ROS crowd read this? Or does this need to be reported somewhere
>>> else?
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1612947).
>> https://bugs.launchpad.net/bugs/1611737
>>
>> Title:
>> Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros-
>> indigo-perception installed from ROS servers
>>
>> Status in ubuntu-release-upgrader package in Ubuntu:
>> Confirmed
>>
>> Bug description:
>> This message was appear when upgrade
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 14.04
>> Package: ubuntu-release-upgrader-core 1:0.220.8
>> ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
>> Uname: Linux 3.19.0-66-generic x86_64
>> NonfreeKernelModules: nvidia
>> ApportVersion: 2.14.1-0ubuntu3.21
>> Architecture: amd64
>>...

Read more...

summary: - Can't upgrade from 14.04 to 16.04 if ros-indigo-desktop-full or ros-
- indigo-perception installed from ROS servers
+ Can't upgrade from a release if ros packages are installed from ROS
+ servers
Jose Luis Rivero (j-rivero) wrote :

Before going down into particular cases, I would like to point that every ROS Release supports only a few subset of the Ubuntu distributions (see REP3 http://www.ros.org/reps/rep-0003.html#platforms-by-distribution).

This makes some upgrades technically not possible since there could not be packages in the ROS repositories available for the new distribution in an upgrade process. For example, there is no a single ROS Release that support 14.04 and 16.04. I can not see a safe/straightforward upgrade path.

If this is not the case, from Open Robotics we are happy help if something can be done in ROS packages or repositories.

Thanks, I already on 18.04. After uninstalling ROS, do-release-upgrade -d
starts works properly. But there is an another problem in upgrade proccess.
I have zfs raid as data storage. And after rebuting new kernel was unable
to load. Problem solves by by buting in old kernel and export-uninstall zfs
and install-import in new kernel.
Thanks for help with ROS packages!

пт, 4 мая 2018 г., 22:45 Jose Luis Rivero <email address hidden>:

> Before going down into particular cases, I would like to point that
> every ROS Release supports only a few subset of the Ubuntu distributions
> (see REP3 http://www.ros.org/reps/rep-0003.html#platforms-by-
> distribution).
>
> This makes some upgrades technically not possible since there could not
> be packages in the ROS repositories available for the new distribution
> in an upgrade process. For example, there is no a single ROS Release
> that support 14.04 and 16.04. I can not see a safe/straightforward
> upgrade path.
>
> If this is not the case, from Open Robotics we are happy help if
> something can be done in ROS packages or repositories.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1768303).
> https://bugs.launchpad.net/bugs/1611737
>
> Title:
> Can't upgrade from a release if ros packages are installed from ROS
> servers
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> Confirmed
>
> Bug description:
> This message was appear when upgrade
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: ubuntu-release-upgrader-core 1:0.220.8
> ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
> Uname: Linux 3.19.0-66-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.14.1-0ubuntu3.21
> Architecture: amd64
> CrashDB: ubuntu
> CurrentDesktop: Unity
> Date: Wed Aug 10 18:41:24 2016
> InstallationDate: Installed on 2015-09-08 (336 days ago)
> InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64
> (20150805)
> PackageArchitecture: all
> SourcePackage: ubuntu-release-upgrader
> UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions
>

SHAHBAZ KHAN (shahbaz99) wrote :

Hey all,
I was facing the same problem. On researching long, I found reason for the cancellation of upgrade was the presence of broken packages. These packages were of ROS as well as of some other softwares. So simply remove those broken packages and then try to upgrade your OS. It will work.

Thanks,
Shahbaz

Thank you very much for your answer.
If I may ask you: How to remove this broken packages?

----- الرسالة الأصلية -----
من: "SHAHBAZ KHAN" <email address hidden>
أرسلت في: ‏18-‏08-‏2018 12:19
إلى: "<email address hidden>" <email address hidden>
الموضوع: [Bug 1611737] Re: Can't upgrade from a release if ros packages areinstalled from ROS servers

Hey all,
I was facing the same problem. On researching long, I found reason for the cancellation of upgrade was the presence of broken packages. These packages were of ROS as well as of some other softwares. So simply remove those broken packages and then try to upgrade your OS. It will work.

Thanks,
Shahbaz

--
You received this bug notification because you are subscribed to a
duplicate bug report (1618107).
https://bugs.launchpad.net/bugs/1611737

Title:
  Can't upgrade from a release if ros packages are installed from ROS
  servers

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  This message was appear when upgrade

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.8
  ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
  Uname: Linux 3.19.0-66-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Wed Aug 10 18:41:24 2016
  InstallationDate: Installed on 2015-09-08 (336 days ago)
  InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions

SHAHBAZ KHAN (shahbaz99) wrote :

Hey Zouhair,
So as to remove the broken packages, I used the following set of commands
sudo apt autoremove, sudo apt purge, sudo apt autoclean.

Hope this may work with you!

Thank you very much Shahbaz, it works.
First, I used the instructions you gave me which clean the "red circle" notification.
After, to install the updates, I used "sudo apt-get install -f" (I saw this in a recommendation given by the OS).
Thank you very much Shahbaz again and sorry for disturbing you.

----- الرسالة الأصلية -----
من: "SHAHBAZ KHAN" <email address hidden>
أرسلت في: ‏19-‏08-‏2018 10:49
إلى: "<email address hidden>" <email address hidden>
الموضوع: [Bug 1611737] Re: Can't upgrade from a release if ros packages areinstalled from ROS servers

Hey Zouhair,
So as to remove the broken packages, I used the following set of commands
sudo apt autoremove, sudo apt purge, sudo apt autoclean.

Hope this may work with you!

--
You received this bug notification because you are subscribed to a
duplicate bug report (1618107).
https://bugs.launchpad.net/bugs/1611737

Title:
  Can't upgrade from a release if ros packages are installed from ROS
  servers

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  This message was appear when upgrade

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.8
  ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
  Uname: Linux 3.19.0-66-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Wed Aug 10 18:41:24 2016
  InstallationDate: Installed on 2015-09-08 (336 days ago)
  InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions

Jishnu Mohan P R (jishnumohan) wrote :

I had the same error and I solved it.

First remove ros using the command: sudo apt-get remove ros-*

If you have created any workspace you have to remove that too.

If you have added setup scripts to you .bashrc then remove that too. For that use the command:
gedit .bashrc

and then remove all the last commands with ros and your workspaces.

After doing these steps, use the commands: sudo apt-get clean and sudo apt-get autoclean

This will solve the error.

Thanks Jishnu for the information. Much appreciated. I ended up doing a
fresh install of 18.04 and ROS.

On Fri, Mar 22, 2019, 12:50 AM Jishnu Mohan P R <email address hidden>
wrote:

> I had the same error and I solved it.
>
> First remove ros using the command: sudo apt-get remove ros-*
>
> If you have created any workspace you have to remove that too.
>
> If you have added setup scripts to you .bashrc then remove that too. For
> that use the command:
> gedit .bashrc
>
> and then remove all the last commands with ros and your workspaces.
>
> After doing these steps, use the commands: sudo apt-get clean and sudo
> apt-get autoclean
>
> This will solve the error.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1654114).
> https://bugs.launchpad.net/bugs/1611737
>
> Title:
> Can't upgrade from a release if ros packages are installed from ROS
> servers
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> Confirmed
>
> Bug description:
> This message was appear when upgrade
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: ubuntu-release-upgrader-core 1:0.220.8
> ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
> Uname: Linux 3.19.0-66-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.14.1-0ubuntu3.21
> Architecture: amd64
> CrashDB: ubuntu
> CurrentDesktop: Unity
> Date: Wed Aug 10 18:41:24 2016
> InstallationDate: Installed on 2015-09-08 (336 days ago)
> InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64
> (20150805)
> PackageArchitecture: all
> SourcePackage: ubuntu-release-upgrader
> UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions
>

Download full text (3.5 KiB)

Thanks to all. I removed a bunch of packages related to ROS and managed to
perform the update. Some issues linked to deep system level changes. 18.04
has more than one way of going a few things, and which one is used depends
on history, server or desktop release ...

Jean-Marc

Le ven. 22 mars 2019 à 19:20, John Dorman <email address hidden> a écrit :

> Thanks Jishnu for the information. Much appreciated. I ended up doing a
> fresh install of 18.04 and ROS.
>
>
> On Fri, Mar 22, 2019, 12:50 AM Jishnu Mohan P R <
> <email address hidden>>
> wrote:
>
> > I had the same error and I solved it.
> >
> > First remove ros using the command: sudo apt-get remove ros-*
> >
> > If you have created any workspace you have to remove that too.
> >
> > If you have added setup scripts to you .bashrc then remove that too. For
> > that use the command:
> > gedit .bashrc
> >
> > and then remove all the last commands with ros and your workspaces.
> >
> > After doing these steps, use the commands: sudo apt-get clean and sudo
> > apt-get autoclean
> >
> > This will solve the error.
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1654114).
> > https://bugs.launchpad.net/bugs/1611737
> >
> > Title:
> > Can't upgrade from a release if ros packages are installed from ROS
> > servers
> >
> > Status in ubuntu-release-upgrader package in Ubuntu:
> > Confirmed
> >
> > Bug description:
> > This message was appear when upgrade
> >
> > ProblemType: Bug
> > DistroRelease: Ubuntu 14.04
> > Package: ubuntu-release-upgrader-core 1:0.220.8
> > ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
> > Uname: Linux 3.19.0-66-generic x86_64
> > NonfreeKernelModules: nvidia
> > ApportVersion: 2.14.1-0ubuntu3.21
> > Architecture: amd64
> > CrashDB: ubuntu
> > CurrentDesktop: Unity
> > Date: Wed Aug 10 18:41:24 2016
> > InstallationDate: Installed on 2015-09-08 (336 days ago)
> > InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64
> > (20150805)
> > PackageArchitecture: all
> > SourcePackage: ubuntu-release-upgrader
> > UpgradeStatus: Upgraded to trusty on 2016-08-10 (0 days ago)
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611737/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1789507).
> https://bugs.launchpad.net/bugs/1611737
>
> Title:
> Can't upgrade from a release if ros packages are installed from ROS
> servers
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> Confirmed
>
> Bug description:
> This message was appear when upgrade
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: ubuntu-release-upgrader-core 1:0.220.8
> ProcVersionSignature: Ubuntu 3.19.0-66.74~14.04.1-generic 3.19.8-ckt22
> Uname: Linux 3.19.0-66-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.14.1-0ubuntu3.21
> Architecture: amd64
> CrashDB: ubuntu
> CurrentDesktop: Unity
> Date: Wed Aug 10 18:41:24 2016
> InstallationDate: Installed on 2015-09-08 (3...

Read more...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers