On Ubuntu 16.04 LTS and 18.04 LTS this installation was done by
SessionInstaller ( https://packages.ubuntu.com/bionic/sessioninstaller
). In 20.04 LTS and newer systems this package is removed.

So theoretically speaking the following installation command should make
the packagekit available:

```
sudo apt-get install 'packagekit*'
```

and then `shares-admin` will open GNOME Software to install the needed 
dependencies. 
But this does not work. GNOME Software is very useful application!

So the bug is fixable by

a. manual installation of additional packages before launching `shares-
admin`:

```
sudo apt-get install nfs-kernel-server samba
shares-admin
```

b. manual download and installation of `sessioninstaller` package from
18.04 LTS and then launching `shares-admin`

```
cd ~/Downloads
wget 
http://archive.ubuntu.com/ubuntu/pool/universe/s/sessioninstaller/sessioninstaller_0.20+bzr150-0ubuntu4.1_all.deb
sudo apt-get install ./sessioninstaller_0.20+bzr150-0ubuntu4.1_all.deb
shares-admin
```

Any comments?

** Also affects: sessioninstaller (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gnome-software (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1889057

Title:
  shares-admin can't install services - failed to install package:
  GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
  org.freedesktop.PackageKit was not provided by any .service files

Status in Ubuntu MATE:
  Invalid
Status in gnome-software package in Ubuntu:
  New
Status in gnome-system-tools package in Ubuntu:
  Confirmed
Status in sessioninstaller package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  1. Have Ubuntu MATE 20.04 LTS installed
  2. Launch `shares-admin`
  3. Confirm installation of sharing services by clicking "Install services" in 
the opened window

  Expected results:
  * services are installed

  Actual results:
  * services are not installed, terminal shows the error:

  ```
  ** (shares-admin:9029): WARNING **: 12:11:42.050: failed to install package: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.PackageKit was not provided by any .service files
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-system-tools 3.0.0-9ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.4
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  Date: Mon Jul 27 12:06:27 2020
  InstallationDate: Installed on 2020-07-08 (18 days ago)
  InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  SourcePackage: gnome-system-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-mate/+bug/1889057/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to