package libsane1 1.0.27-1~experimental2ubuntu2.1 failed to install/upgrade while installing winehq-staging: trying to overwrite shared '/lib/udev/hwdb.d/20-sane.hwdb', which is different from other instances of package libsane1:i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sane-backends (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
package libsane1 1.0.27-
Preparing to unpack .../52-
Unpacking libsane1:i386 (1.0.27-
dpkg: error processing archive /tmp/apt-
trying to overwrite shared '/lib/udev/
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
results for 'lsb_release -rd':
$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
results for 'apt-cache policy pkgname':
N: Unable to locate package pkgname
Expected to happen?
For the update to wine staging to install with no issues.
What happened instead?
Of course it's with dpkg. Had issues with that before.
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: libsane1 1.0.27-
ProcVersionSign
Uname: Linux 4.13.0-46-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.9
Architecture: amd64
Date: Mon Oct 1 03:55:35 2018
DuplicateSignature:
package:
Unpacking libsane1:i386 (1.0.27-
dpkg: error processing archive /tmp/apt-
trying to overwrite shared '/lib/udev/
ErrorMessage: trying to overwrite shared '/lib/udev/
InstallationDate: Installed on 2018-02-14 (228 days ago)
InstallationMedia: Xubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu3
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.2
SourcePackage: sane-backends
Title: package libsane1 1.0.27-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Found a FIX for this issue here: /askubuntu. com/questions/ 976187/ dpkg-error- message- with-libsane- while-installin g-winehq- stable
https:/
~ Step-by-step Guide for the Fix (using Terminal commands) ~ apt/lists/ *
1. Remove wine
sudo apt-add-repository --remove ppa:ubuntu-wine/ppa
sudo apt purge winehq-stable wine-mono wine-gecko winetricks
sudo rm -rf /var/lib/
sudo apt clean
sudo apt autoremove
sudo apt update
2. Install libsane1:i386 :="--force- overwrite" install libsane1:i386
sudo apt-get -o Dpkg::Options:
sudo dpkg --configure -a
3. Re-Install wine-staging /dl.winehq. org/wine- builds/ Release. key /dl.winehq. org/wine- builds/ ubuntu/ ' recommends winehq-stable recommends winehq-devel recommends winehq-staging
wget -nc https:/
sudo apt-key add Release.key
sudo apt-add-repository 'https:/
sudo apt-get update
sudo apt-get install --install-
sudo apt-get install --install-
sudo apt-get install --install-
winecfg
sudo apt update
No error messages reported. Worked great.