Errors were encountered while processing: elementary-os-beta-transition

Bug #1258398 reported by Coiby Xu
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
elementary OS
Confirmed
Undecided
Unassigned

Bug Description

I try to install elementary OS on Ubuntu 12.04(64bit):
1. sudo add-apt-repository ppa:elementary-os/stable
2. sudo apt-get install elementary-desktop

But there's an error when processing package elementary-os-beta-transition :
"
/var/lib/dpkg/info/elementary-os-beta-transition.postinst: 45: .: Can't open /etc/upstream-release/lsb-release
"dpkg: error processing elementary-os-beta-transition (--configure):
 subprocess installed post-installation script returned error exit status 2
...
Errors were encountered while processing:
 elementary-os-beta-transition
E: Sub-process /usr/bin/dpkg returned an error code (1)

Phillip Sz (phillip-sz)
Changed in elementaryos:
status: New → Invalid
Revision history for this message
Simon Baguley (simon-baguley) wrote :

after any install (in this case chromium, as chrome has stopped working on elementary os for me) ...

In a Package operation failed window:

Errors were encountered while processing:
 elementary-os-beta-transition
Error in function:
Setting up elementary-os-beta-transition (0.1-0~8~precise1) ...
/var/lib/dpkg/info/elementary-os-beta-transition.postinst: 45: .: Can't open /etc/upstream-release/lsb-release
dpkg: error processing elementary-os-beta-transition (--configure):
 subprocess installed post-installation script returned error exit status 2

Changed in elementaryos:
status: Invalid → Confirmed
Revision history for this message
Coiby Xu (coiby) wrote :

A temporary solution is to create file /etc/upstream-release/lsb-release manually. So the installation process will continue.

Revision history for this message
Antonio Chay Hidalgo (antonio-chay) wrote :

The problem is with this script:
elementary-os-beta-transition.postinst

In line 6:
set -e

But then, later at line 45 has:
. /etc/upstream-release/lsb-release || true

So, looks like the error can be (or should be) safely ignored (you can "sudo touch /etc/upstream-release/lsb-release").
But! I don't know the intentions "set -e", and then "|| true" ?? that's inconsistent at best, I would say it is a bug ;-)

Regards!

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.