ubuntu.session is trying to write '/usr/share/gnome-session/sessions/ubuntu.session', which is also in gnome-session

Bug #1787748 reported by Edson T. Marques
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Fix Released
Critical
Marco Trevisan (Treviño)

Bug Description

# sudo apt install ubuntu-session
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
The following new packages will be installed:
  ubuntu-session
0 packages upgraded, 1 new packages installed, 0 to be removed and 3 not upgraded.
You need to download 0 B / 4.620 B files.
After this operation, an additional 69.6 kB of disk space will be used.
(Reading database ... 413665 files and directories currently installed.)
Preparing to unpack ... / ubuntu-session_3.29.90-1ubuntu1_amd64.deb ...
Unpacking ubuntu-session (3.29.90-1ubuntu1) ...
dpkg: error while processing the file /var/cache/apt/archives/ubuntu-session_3.29.90-1ubuntu1_amd64.deb (--unpack):
 trying to write '/usr/share/gnome-session/sessions/ubuntu.session', which is also in the gnome-session package 3.29.90-1ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/ubuntu-session_3.29.90-1ubuntu1_amd64.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-session 3.29.90-1ubuntu1
ProcVersionSignature: Ubuntu 4.17.0-7.8-generic 4.17.12
Uname: Linux 4.17.0-7-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 18 14:05:12 2018
InstallationDate: Installed on 2018-06-06 (73 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Edson T. Marques (edsontmarques) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-session (Ubuntu):
status: New → Confirmed
Changed in gnome-session (Ubuntu):
importance: Undecided → Critical
tags: added: rls-cc-incoming
summary: - Ubuntu.session in gnome-session
+ ubuntu.session is trying to write '/usr/share/gnome-
+ session/sessions/ubuntu.session', which is also in the gnome-session
Changed in gnome-session (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: ubuntu.session is trying to write '/usr/share/gnome-session/sessions/ubuntu.session', which is also in the gnome-session

This bug was fixed in the package gnome-session - 3.29.90-1ubuntu2

---------------
gnome-session (3.29.90-1ubuntu2) cosmic; urgency=medium

  * debian/gnome-session.install:
    - Revert change that was wrongly merged from debian, causing
      gnome-session and ubuntu-session to have the same files (LP: #1787748)
  * debian/control:
    - Set Breaks/Replaces on gnome-shell <=> ubuntu-settings for versions
      <= 3.29.90-1ubuntu1 (LP: #1787748)
    - Build-depends on meson (>= 0.47.0) as per dict usage
  * debian/gnome-session.install:
    - install all gnome-provided *.session files
  * d/p/ubuntu/post_install-install-gnome.desktop-session-in-wayland-ses.patch:
    - Do not install gnome.session in xsessions (as defaults to wayland)
  * d/p/ubuntu/ubuntu-sessions.patch:
    - Install session X and wayland .desktop files only in the relative-type
      directories, and cleanup the meson code using a dict.
  * debian/rules:
    - Use dh_missing --fail-missing
  * d/p/53_add_sessionmigration.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/add_sessionmigration.patch
  * d/p/95_dbus_request_shutdown.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/dbus_request_shutdown.patch
  * d/p/ignore_gsettings_region.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/ignore_gsettings_region.patch
  * d/p/103_kill_the_fail_whale.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/kill_the_fail_whale.patch
  * d/p/51_remove_session_saving_from_gui.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/remove_session_saving_from_gui.patch
  * d/p/22_support_autostart_delay.patch:
    - Use Gbp-Pq topic, moved to d/p/ubuntu/support_autostart_delay.patch

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 21 Aug 2018 11:07:21 -0500

Changed in gnome-session (Ubuntu):
status: In Progress → Fix Released
summary: ubuntu.session is trying to write '/usr/share/gnome-
- session/sessions/ubuntu.session', which is also in the gnome-session
+ session/sessions/ubuntu.session', which is also in gnome-session
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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