deluged installed with error now Package Manager fails

Bug #1981510 reported by thomas l konefal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
New
Undecided
Unassigned

Bug Description

... deluged installed with error ...
sudo apt install ./*.deb
deluge-common : Depends: python-twisted-core but it is not installable
E: Unable to correct problems, you have held broken packages.

... failed to remove deluged ...
sudo apt-get remove deluged
Reading package lists... Done
E: Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)

... sudo apt-get update executes, but sudo apt-get upgrade does not ...
sudo apt-get upgrade
Reading package lists... Done
E: Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)

.. red icon with white horizontal dash in toolbar ...
DIALOG BOX an error occurred, please run Package Manager from the right-click menu or apt-get in terminal to see what is wrong. The error message was: 'Error: Opening the cache (E:Unable to parse package file /etc/apt/preferences.d/pin-deluge (1))'. This usually means that your installed packages have unmet dependencies.

Show updates.................Nothing happens

Install all updates..........Failed to load package list. This is a serious problem.

Check for updates............Failed to load package list. This is a serious problem.

Start package manager........1) DIALOG BOX authentication required

.............................2) DIALOG BOX an error occurred
................................E:Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)
................................E: _cache->open() failed, please report.

........................................................................
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
........................................................................
DELL Latitude E6420 laptop
........................................................................

Tags: focal
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for reporting this bug and make Ubuntu better!

could you please run: apport-collect 1981510 from a terminal
so relevant system info gets collected into your existing bug
and the developers can help debug you better

Thank you!

Revision history for this message
thomas l konefal (tlawrencek) wrote : Re: [Bug 1981510] Re: deluged installed with error now Package Manager fails
Download full text (4.2 KiB)

Wed 13 Jul 2022 03:52:03 PM PDT
e6420@Latitude-E6420:~/deluge$ sudo apport-collect 1981510
[sudo] password for e6420:
Please open this authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=JQv9twRM1hfbsvZjrnnL&allow_permission=DESKTOP_INTEGRATION)
in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Press Enter after authorizing in your browser.

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 597, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 716, in run_argv
    return self.run_update_report()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 601, in run_update_report
    apport.packaging.get_version(p)
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 163, in get_version
    pkg = self._apt_pkg(package)
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 156, in _apt_pkg
    return self._cache()[package]
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 121, in _cache
    self._apt_cache = apt.Cache(progress, rootdir='/')
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 170, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 232, in open
    self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)

e6420@Latitude-E6420:~/deluge$ date
Wed 13 Jul 2022 04:17:49 PM PDT
________________________________
From: <email address hidden> <email address hidden> on behalf of lotuspsychje <email address hidden>
Sent: July 13, 2022 2:00 AM
To: <email address hidden> <email address hidden>
Subject: [Bug 1981510] Re: deluged installed with error now Package Manager fails

Thank you for reporting this bug and make Ubuntu better!

could you please run: apport-collect 1981510 from a terminal
so relevant system info gets collected into your existing bug
and the developers can help debug you better

Thank you!

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1981510

Title:
  deluged installed with error now Package Manager fails

Status in deluge package in Ubuntu:
  New

Bug description:
  ... deluged installed with error ...
  sudo apt install ./*.deb
  deluge-common : Depends: python-twisted-core but it is not installable
  E: Unable to correct problems, you have held broken packages.

  ... failed to remove deluged ...
  sudo apt-get remove deluged
  Reading package lists... Done
  E: Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)

  ... sudo apt-get update executes, but sudo apt-get upgrade does not ...
  sudo apt-get upgrade
  Reading package lists... Done
  E: Unable to parse package file /etc/apt/preferences.d/pin-deluge (1)

  .. red icon with white horizontal dash in toolbar ...
  DIALOG BOX an error occurred, please run Package Manager from the right-click menu or apt-get in terminal to see what is wrong. The error message was: 'Error: Opening the cache (E:Unable to parse package file /etc/apt/preferences.d/pin-deluge (1))'. This usual...

Read more...

tags: added: focal
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.