1

I have problems downloading and installing several software packages.

This is what I get every time: some broken packages.

$ sudo apt install i3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 i3 : Depends: i3-wm (= 4.16.1-1~~xenial1) but it is not going to be installed
      Recommends: i3lock (>= 2.2) but it is not going to be installed
      Recommends: suckless-tools but it is not installable
      Recommends: i3status (>= 2.3) but it is not going to be installed
      Recommends: dunst but it is not installable
E: Unable to correct problems, you have held broken packages.

My Ubuntu version is 16.04.

As asked for, the contents of /etc/apt/sources.list.d/sur5r-i3.list:

deb https://debian.sur5r.net/i3/ xenial universe
DK Bose
  • 42,548
  • 23
  • 127
  • 221
  • 2
    What PPAs are you using? – Organic Marble Oct 02 '19 at 13:30
  • I followed the instructions on i3 site. These:
    # dpkg -i ./keyring.deb
    # echo "deb https://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" >> /etc/apt/sources.list.d/sur5r-i3.list
    # apt update
    # apt install i3```
    It tells me that I have to have superuser privileges.
    
    – KesiScarlet Oct 02 '19 at 13:35
  • 1
    not solving my problem. Thanks anyway – KesiScarlet Oct 02 '19 at 13:45
  • 3
    Please [edit] your question and include the contents of /etc/apt/sources.list.d/sur5r-i3.list It is likely that adding this debian ppa to your system broke the package system. – Organic Marble Oct 02 '19 at 14:19
  • 2
    For 16.04, use 2016-era packages. Newer packages will have wrong-version dependencies (1.2 instead of 1.1), which is what usually causes "held broken packages" and "you have requested an impossible situation" – user535733 Oct 02 '19 at 14:37
  • 2
    "It tells me that I have to have superuser privileges" suggests that you might be cutting-and-pasting incantations that you perhaps don't fully understand. If so, it might be wise to post a link to those instructions. – user535733 Oct 02 '19 at 15:03

0 Answers0