dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11-1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Preparing to unpack .../mesa-va-drivers_23.0.4-0ubuntu1~22.04.1_amd64.deb ... Unpacking mesa-va-drivers:amd64 (23.0.4-0ubuntu1~22.04.1) over (22.2.5-0ubuntu0.1~22.04.3) ... Errors were encountered while processing: /var/cache/apt/archives/libodbc1_2.3.11-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Bug #2028008 reported by caio tor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
caio tor

Bug Description

Issue while doing apt-get upgrade. Ubuntu 22.04
metaorior@metaorior-550XDA:~$ sudo apt-get update && apt-get upgrade -y
[sudo] password for metaorior:
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Get:5 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease [3.611 B]
Get:6 http://br.archive.ubuntu.com/ubuntu jammy/main i386 Packages [1.040 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB]
Get:8 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages [216 kB]
Get:9 https://linux.teamviewer.com/deb stable InRelease [11,9 kB]
Get:10 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1.395 kB]
Get:11 https://linux.teamviewer.com/deb stable/main i386 Packages [4.816 B]
Get:12 https://linux.teamviewer.com/deb stable/main amd64 Packages [5.302 B]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [266 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [572 kB]
Get:15 http://br.archive.ubuntu.com/ubuntu jammy/main Translation-en [510 kB]
Get:16 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 DEP-11 Metadata [423 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages [180 kB]
Get:18 https://packages.microsoft.com/ubuntu/20.04/prod focal/main armhf Packages [15,3 kB]
Get:19 https://packages.microsoft.com/ubuntu/20.04/prod focal/main all Packages [2.521 B]
Get:20 http://br.archive.ubuntu.com/ubuntu jammy/main DEP-11 48x48 Icons [100,0 kB]
Get:21 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [140 kB]
Get:22 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [41,6 kB]
Get:23 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 48x48 Icons [13,8 kB]
Get:24 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 64x64 Icons [22,7 kB]
Get:25 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 64x64@2 Icons [29 B]
Get:26 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11,0 kB]
Get:27 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [29,7 kB]
Get:28 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [558 kB]
Get:29 http://br.archive.ubuntu.com/ubuntu jammy/main DEP-11 64x64 Icons [148 kB]
Get:30 http://br.archive.ubuntu.com/ubuntu jammy/main DEP-11 64x64@2 Icons [15,8 kB]
Get:31 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 c-n-f Metadata [30,3 kB]
Get:32 http://br.archive.ubuntu.com/ubuntu jammy/restricted i386 Packages [30,4 kB]
Get:33 http://br.archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [129 kB]
Get:34 https://packages.microsoft.com/ubuntu/20.04/prod focal/main arm64 Packages [42,9 kB]
Get:35 http://br.archive.ubuntu.com/ubuntu jammy/restricted Translation-en [18,6 kB]
Get:36 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages [104 kB]
Get:37 http://br.archive.ubuntu.com/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B]
Get:38 http://br.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14,1 MB]
Get:39 http://archive.ubuntu.com/ubuntu jammy-proposed/main Translation-en [48,0 kB]
Get:40 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 DEP-11 Metadata [16,4 kB]
Get:41 http://archive.ubuntu.com/ubuntu jammy-proposed/main DEP-11 48x48 Icons [11,4 kB]
Get:42 http://archive.ubuntu.com/ubuntu jammy-proposed/main DEP-11 64x64 Icons [16,7 kB]
Get:43 http://archive.ubuntu.com/ubuntu jammy-proposed/main DEP-11 64x64@2 Icons [29 B]
Get:44 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 c-n-f Metadata [5.484 B]
Get:45 http://archive.ubuntu.com/ubuntu jammy-proposed/restricted amd64 Packages [108 kB]
Get:46 http://archive.ubuntu.com/ubuntu jammy-proposed/restricted Translation-en [19,2 kB]
Get:47 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [87,2 kB]
Get:48 http://archive.ubuntu.com/ubuntu jammy-proposed/restricted amd64 c-n-f Metadata [116 B]
Get:49 http://archive.ubuntu.com/ubuntu jammy-proposed/universe i386 Packages [376 kB]
Get:50 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [532 B]
Get:51 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [748 kB]
Get:52 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [539 kB]
Get:53 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages [412 kB]
Get:54 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [133 kB]
Get:55 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [21,9 kB]
Get:56 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 48x48 Icons [19,7 kB]
Get:57 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 64x64 Icons [31,7 kB]
Get:58 http://archive.ubuntu.com/ubuntu jammy-proposed/universe Translation-en [54,5 kB]
Get:59 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 DEP-11 Metadata [6.776 B]
Get:60 http://archive.ubuntu.com/ubuntu jammy-proposed/universe DEP-11 48x48 Icons [9.845 B]
Get:61 http://archive.ubuntu.com/ubuntu jammy-proposed/universe DEP-11 64x64 Icons [16,0 kB]
Get:62 http://archive.ubuntu.com/ubuntu jammy-proposed/universe DEP-11 64x64@2 Icons [29 B]
Get:63 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 c-n-f Metadata [6.576 B]
Get:64 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 64x64@2 Icons [29 B]
Get:65 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [15,7 kB]
Get:66 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages [1.032 B]
Get:67 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36,5 kB]
Get:68 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7.060 B]
Get:69 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B]
Get:70 http://br.archive.ubuntu.com/ubuntu jammy/universe i386 Packages [7.474 kB]
Get:71 http://br.archive.ubuntu.com/ubuntu jammy/universe Translation-en [5.652 kB]
Get:72 http://br.archive.ubuntu.com/ubuntu jammy/universe amd64 DEP-11 Metadata [3.559 kB]
Get:73 http://br.archive.ubuntu.com/ubuntu jammy/universe DEP-11 48x48 Icons [3.447 kB]
Get:74 http://br.archive.ubuntu.com/ubuntu jammy/universe DEP-11 64x64 Icons [7.609 kB]
Get:75 http://br.archive.ubuntu.com/ubuntu jammy/universe DEP-11 64x64@2 Icons [69,3 kB]
Get:76 http://br.archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
Get:77 http://br.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages [112 kB]
Get:78 http://br.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:79 http://br.archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
Get:80 http://br.archive.ubuntu.com/ubuntu jammy/multiverse amd64 DEP-11 Metadata [42,1 kB]
Get:81 http://br.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 48x48 Icons [42,7 kB]
Get:82 http://br.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 64x64 Icons [193 kB]
Get:83 http://br.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 64x64@2 Icons [214 B]
Get:84 http://br.archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8.372 B]
Get:85 http://br.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [443 kB]
Get:86 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [792 kB]
Get:87 http://br.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [200 kB]
Get:88 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [99,6 kB]
Get:89 http://br.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 48x48 Icons [33,0 kB]
Get:90 http://br.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 64x64 Icons [51,3 kB]
Get:91 http://br.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 64x64@2 Icons [29 B]
Get:92 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [15,4 kB]
Get:93 http://br.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [567 kB]
Get:94 http://br.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages [30,0 kB]
Get:95 http://br.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [88,2 kB]
Get:96 http://br.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [528 B]
Get:97 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [944 kB]
Get:98 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [634 kB]
Get:99 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [203 kB]
Get:100 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [274 kB]
Get:101 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 48x48 Icons [185 kB]
Get:102 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64 Icons [284 kB]
Get:103 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64@2 Icons [29 B]
Get:104 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [20,7 kB]
Get:105 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [41,6 kB]
Get:106 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [3.888 B]
Get:107 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [9.764 B]
Get:108 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:109 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1.867 B]
Get:110 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2.497 B]
Get:111 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Get:112 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [476 B]
Get:113 http://br.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [40,9 kB]
Get:114 http://br.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages [33,7 kB]
Get:115 http://br.archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [10,2 kB]
Get:116 http://br.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [7.976 B]
Get:117 http://br.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 48x48 Icons [7.156 B]
Get:118 http://br.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 64x64 Icons [10,7 kB]
Get:119 http://br.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 64x64@2 Icons [29 B]
Get:120 http://br.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]
Get:121 http://br.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
Get:122 http://br.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
Get:123 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages [12,8 kB]
Get:124 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [22,2 kB]
Get:125 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [15,4 kB]
Get:126 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [15,3 kB]
Get:127 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 48x48 Icons [13,3 kB]
Get:128 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 64x64 Icons [22,2 kB]
Get:129 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 64x64@2 Icons [29 B]
Get:130 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [580 B]
Fetched 57,8 MB in 13s (4.512 kB/s)
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
metaorior@metaorior-550XDA:~$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libodbccr2
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  docker.io libodbc1 mesa-va-drivers
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 37,3 MB of archives.
After this operation, 1.402 kB of additional disk space will be used.
Get:1 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 libodbc1 amd64 2.3.11-1 [486 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 docker.io amd64 20.10.25-0ubuntu1~22.04.1 [33,3 MB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 mesa-va-drivers amd64 23.0.4-0ubuntu1~22.04.1 [3.540 kB]
Fetched 37,3 MB in 11s (3.265 kB/s)
Preconfiguring packages ...
(Reading database ... 245585 files and directories currently installed.)
Preparing to unpack .../docker.io_20.10.25-0ubuntu1~22.04.1_amd64.deb ...
Unpacking docker.io (20.10.25-0ubuntu1~22.04.1) over (20.10.21-0ubuntu1~22.04.3) ...
Preparing to unpack .../libodbc1_2.3.11-1_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11-1) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../mesa-va-drivers_23.0.4-0ubuntu1~22.04.1_amd64.deb ...
Unpacking mesa-va-drivers:amd64 (23.0.4-0ubuntu1~22.04.1) over (22.2.5-0ubuntu0.1~22.04.3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libodbc1_2.3.11-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
metaorior@metaorior-550XDA:~$ ubuntu-report
ERRO metrics from this machine have already been reported and can be found in: /home/metaorior/.cache/ubuntu-report/ubuntu.22.04
metaorior@metaorior-550XDA:~$ ubuntu-bug
metaorior@metaorior-550XDA:~$ Gtk-Message: 15:29:32.363: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
metaorior@metaorior-550XDA:~$

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.19.0-46.47~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-46-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 17 15:28:58 2023
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2023-07-04 (13 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230703)
SourcePackage: ubiquity
Symptom: installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
caio tor (synaxis) wrote :
Revision history for this message
caio tor (synaxis) wrote :

# deb cdrom:[Ubuntu 22.04.2 LTS _Jammy Jellyfish_ - Release amd64 (20230703)]/ jammy main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ jammy main restricted universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ jammy-backports main restricted multiverse universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

caio tor (synaxis)
Changed in ubiquity (Ubuntu):
assignee: nobody → caio tor (synaxis)
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.