Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade fails: unable to open '/usr/share/backgrounds/greybird.svg.dpkg-new': No such file or directory #326

Open
anilsg opened this issue Oct 1, 2022 · 1 comment

Comments

@anilsg
Copy link

anilsg commented Oct 1, 2022

Hi @ochosi - thanks for the new release of Greybird.

I find the following error when trying to upgrade from greybird-gtk-theme/focal,focal,now 3.22.12-0ubuntu1 all to 3.23.2-1~bpo20.04:
unable to open '/usr/share/backgrounds/greybird.svg.dpkg-new': No such file or directory.

I provided some dummy svg at that location but re-running the upgrade just removed the file that I provided and returned the same error.

It looks to me like there's a file expected in the archive that is missing.

Normally I would expect the upgrade to just complete, but it seems I'm now stuck at 3.22.12. I tried an apt reinstall but got the same error. I haven't tried to uninstall and install from fresh because I presume I'll just lose the installation with the same error.

Note I do have the following link installed, I'm not aware if this would cause a problem (but I've had the link for some time and it's never been a problem before):

$ ls -l /usr/share/backgrounds
lrwxrwxrwx 1 root root 16 Aug  2  2021 /usr/share/backgrounds -> xfce4/backdrops/

I'm running Xfce 4.16 on Xubuntu 20.04.5 LTS (Focal Fossa).

$ sudo apt upgrade -y greybird-gtk-theme
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  greybird-gtk-theme
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/585 kB of archives.
After this operation, 1,819 kB of additional disk space will be used.
(Reading database ... 371370 files and directories currently installed.)
Preparing to unpack .../greybird-gtk-theme_3.23.2-1~bpo20.04_all.deb ...
Unpacking greybird-gtk-theme (3.23.2-1~bpo20.04) over (3.22.12-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/greybird-gtk-theme_3.23.2-1~bpo20.04_all.deb (--unpack):
 unable to open '/usr/share/backgrounds/greybird.svg.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
                                                                                         Errors were encountered while processing:
 /var/cache/apt/archives/greybird-gtk-theme_3.23.2-1~bpo20.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
@anilsg anilsg changed the title unable to open '/usr/share/backgrounds/greybird.svg.dpkg-new': No such file or directory upgrade fails: unable to open '/usr/share/backgrounds/greybird.svg.dpkg-new': No such file or directory Oct 5, 2022
@anilsg
Copy link
Author

anilsg commented Oct 5, 2022

Note that the "Software Updater" system (Xubuntu) gets the same error. I can see it flash up momentarily in the details dialogue while it's running the install, and the GUI comes back with "failed to install".

software-updater-want-to-install

software-updater-the-installation-failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant