Public bug reported:

my laptop has 1 OS only. there are hard disk errors. i think firefox and some 
other sectors got corrupted. trying to fix it now with 
https://askubuntu.com/questions/1491205/i-cant-download-any-snap-application-even-open-the-used-once-ubuntu-lts-22-04


https://askubuntu.com/questions/1258137/cannot-communicate-with-server-post-http-localhost-v2-apps-dial-unix-run-sn

gave commands:


sudo dpkg -i  ~/Downloads/1/zoom_amd64.deb


sudo apt upgrade -y
sudo apt --fix-broken install
sudo apt upgrade -y

# realized i have two zooms

sudo apt upgrade -y
sudo apt --fix-broken install
sudo apt remove zoom
zoom --disable-gpu-sandbox
sudo apt remove zoom
sudo snap remove zoom-client 
sudo snap remove zoom

sudo apt update

sudo apt upgrade -y

sudo snap remove zoom
sudo apt autoremove --purge snapd

# *** below is output of this command  ***
#The following packages will be REMOVED:
#  firefox snapd*
#0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
#1 not fully installed or removed.
After this operation, 103 MB disk space will be freed.
Do you want to continue? [Y/n] y
#dpkg: error processing package firefox (--remove):
# package is in a very bad inconsistent state; you should
# reinstall it before attempting a removal
#dpkg: too many errors, stopping
#Errors were encountered while processing:
# firefox
#Processing was halted because there were too many errors.


sudo dpkg-reconfigure snapd
sudo apt reinstall snapd
sudo snap remove zoom
sudo apt autoremove --purge snapd
history | grep cut | grep history

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: firefox 1:1snap1-0ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-37.38~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Nov 28 04:41:02 2023
DpkgTerminalLog:
 dpkg: error processing package firefox (--remove):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting a removal
 dpkg: too many errors, stopping
ErrorMessage: package is in a very bad inconsistent state; you should  
reinstall it before attempting a removal
InstallationDate: Installed on 2023-06-15 (165 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.12, unpackaged
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt  2.4.11
SourcePackage: firefox
Title: package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: package is 
in a very bad inconsistent state; you should  reinstall it before attempting a 
removal
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package jammy

** Attachment added: "screen shot of terminal"
   
https://bugs.launchpad.net/bugs/2044863/+attachment/5723964/+files/Screenshot%20from%202023-11-28%2004-49-48.png

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

Title:
  package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

Status in firefox package in Ubuntu:
  New

Bug description:
  
  my laptop has 1 OS only. there are hard disk errors. i think firefox and some 
other sectors got corrupted. trying to fix it now with 
  
https://askubuntu.com/questions/1491205/i-cant-download-any-snap-application-even-open-the-used-once-ubuntu-lts-22-04

  
  
https://askubuntu.com/questions/1258137/cannot-communicate-with-server-post-http-localhost-v2-apps-dial-unix-run-sn

  gave commands:


  sudo dpkg -i  ~/Downloads/1/zoom_amd64.deb

  
  sudo apt upgrade -y
  sudo apt --fix-broken install
  sudo apt upgrade -y

  # realized i have two zooms

  sudo apt upgrade -y
  sudo apt --fix-broken install
  sudo apt remove zoom
  zoom --disable-gpu-sandbox
  sudo apt remove zoom
  sudo snap remove zoom-client 
  sudo snap remove zoom

  sudo apt update

  sudo apt upgrade -y

  sudo snap remove zoom
  sudo apt autoremove --purge snapd

  # *** below is output of this command  ***
  #The following packages will be REMOVED:
  #  firefox snapd*
  #0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
  #1 not fully installed or removed.
  After this operation, 103 MB disk space will be freed.
  Do you want to continue? [Y/n] y
  #dpkg: error processing package firefox (--remove):
  # package is in a very bad inconsistent state; you should
  # reinstall it before attempting a removal
  #dpkg: too many errors, stopping
  #Errors were encountered while processing:
  # firefox
  #Processing was halted because there were too many errors.

  
  sudo dpkg-reconfigure snapd
  sudo apt reinstall snapd
  sudo snap remove zoom
  sudo apt autoremove --purge snapd
  history | grep cut | grep history

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: firefox 1:1snap1-0ubuntu2
  ProcVersionSignature: Ubuntu 6.2.0-37.38~22.04.1-generic 6.2.16
  Uname: Linux 6.2.0-37-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Tue Nov 28 04:41:02 2023
  DpkgTerminalLog:
   dpkg: error processing package firefox (--remove):
    package is in a very bad inconsistent state; you should
    reinstall it before attempting a removal
   dpkg: too many errors, stopping
  ErrorMessage: package is in a very bad inconsistent state; you should  
reinstall it before attempting a removal
  InstallationDate: Installed on 2023-06-15 (165 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
  PythonDetails: /usr/bin/python3.10, Python 3.10.12, unpackaged
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.11
  SourcePackage: firefox
  Title: package firefox 1:1snap1-0ubuntu2 failed to install/upgrade: package 
is in a very bad inconsistent state; you should  reinstall it before attempting 
a removal
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2044863/+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