Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Preparing to unpack .../dictionaries-common_1.28.1_all.deb .

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Preparing to unpack .../dictionaries-common_1.28.1_all.deb .

#1 Post by itbonifacio »

I completed an distro upgrade from 10 to 10.9 and all was fine but towards the end received the following:

ou might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
hunspell-tr : Depends: dictionaries-common but it is not going to be installed
snapd : Depends: apparmor (>= 2.10.95-0ubuntu2.2) but it is not going to be installed
Depends: gnupg1 but it is not going to be installed or
gnupg but it is not going to be installed
Depends: openssh-client but it is not going to be installed
Depends: squashfs-tools but it is not going to be installed
Depends: udev but it is not going to be installed
Recommends: gnupg but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
hunspell-tr : Depends: dictionaries-common but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
dictionaries-common
Suggested packages:
ispell | aspell | hunspell wordlist
The following NEW packages will be installed:
dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/239 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 16530 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.28.1_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dictionaries-common' with
different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.28.1_all.deb (--unpack):
new dictionaries-common package pre-installation script subprocess returned error exit status 2
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
hunspell-tr : Depends: dictionaries-common but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...
E: Sub-process /usr/bin/dpkg returned an error code (1)

For the last three days I have searched for possible solutions to these errors and nothing is working. Please Advise?

peter_irich
Posts: 1403
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#2 Post by peter_irich »

If so, simply purge hunspell-tr and try again.

Code: Select all

apt-get purge hunspell-tr
Peter.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#3 Post by Head_on_a_Stick »

itbonifacio wrote:snapd : Depends: apparmor (>= 2.10.95-0ubuntu2.2) but it is not going to be installed
https://wiki.debian.org/DontBreakDebian ... nkenDebian
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#4 Post by stevepusser »

Head_on_a_Stick wrote:
itbonifacio wrote:snapd : Depends: apparmor (>= 2.10.95-0ubuntu2.2) but it is not going to be installed
https://wiki.debian.org/DontBreakDebian ... nkenDebian
That's what the dependency in Debian Buster is for snapd. https://packages.debian.org/buster/snapd :?


My SWAG is that the Ubuntu developer also packaged it for Debian, and didn't prettify the dependencies by removing any Ubuntu references. It's still acceptable and works, it's just not really polished.
Last edited by stevepusser on 2021-04-04 00:45, edited 1 time in total.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#5 Post by Head_on_a_Stick »

stevepusser wrote:That's what the dependency in Debian Buster is for snapd
:o

Thanks for the correction and apologies to the OP.
deadbang

itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#6 Post by itbonifacio »

I tried the following:

# apt-get purge hunspell-tr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
emacsen-common
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
hunspell-tr*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 9,681 kB disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states

# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
hunspell-tr : Depends: dictionaries-common but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

tried apt --fix-broken install

# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
dictionaries-common
Suggested packages:
ispell | aspell | hunspell wordlist
The following NEW packages will be installed:
dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/239 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
(Reading database ... 16530 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.28.1_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dictionaries-common' with
different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.28.1_all.deb (--unpack):
new dictionaries-common package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/dictionaries-common_1.28.1_all.deb
libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please advise?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#7 Post by dilberts_left_nut »

Post output of:

Code: Select all

df -h
and

Code: Select all

apt policy
AdrianTM wrote:There's no hacker in my grandma...

itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#8 Post by itbonifacio »

As requested:

$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 787M 9.4M 777M 2% /run
/dev/sda1 21G 14G 6.1G 69% /
tmpfs 3.9G 12M 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda7 1.3G 4.0M 1.2G 1% /tmp
/dev/sda5 7.2G 695M 6.1G 11% /var
/dev/sda8 80G 73G 3.3G 96% /home
tmpfs 787M 52K 787M 1% /run/user/1000

$ sudo apt policy

Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
release o=dl.winehq.org,a=stable,n=buster,l=winehq,c=main,b=amd64
origin dl.winehq.org
500 https://download.sublimetext.com apt/stable/ Packages
release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
origin download.sublimetext.com
500 http://repo.mysql.com/apt/debian buster/mysql-tools amd64 Packages
release o=MySQL,n=buster,l=MySQL,c=mysql-tools,b=amd64
origin repo.mysql.com
500 http://repo.mysql.com/apt/debian buster/mysql-8.0 amd64 Packages
release o=MySQL,n=buster,l=MySQL,c=mysql-8.0,b=amd64
origin repo.mysql.com
500 http://repo.mysql.com/apt/debian buster/mysql-apt-config amd64 Packages
release o=MySQL,n=buster,l=MySQL,c=mysql-apt-config,b=amd64
origin repo.mysql.com
500 https://download.jitsi.org stable/ Packages
release o=jitsi.org,a=stable,n=stable,l=Jitsi Debian packages repository,c=
origin download.jitsi.org
500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 https://packages.gitlab.com/gitlab/gitlab-ce/debian buster/main amd64 Packages
release v=1,o=packages.gitlab.com/gitlab/gitlab-ce,a=buster,n=buster,l=gitlab-ce,c=main,b=amd64
origin packages.gitlab.com
500 http://deb.debian.org/debian buster-proposed-updates/contrib amd64 Packages
release v=10-updates,o=Debian,a=proposed-updates,n=buster-proposed-updates,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster-proposed-updates/main amd64 Packages
release v=10-updates,o=Debian,a=proposed-updates,n=buster-proposed-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/non-free amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian buster/non-free amd64 Packages
release v=10.9,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/contrib amd64 Packages
release v=10.9,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/main amd64 Packages
release v=10.9,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:

Any ideas?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#9 Post by dilberts_left_nut »

Some dependency conflict in that mess of sources I would expect.

I see some tedious dependency & version checking in your future.

'aptitude why not' might be your friend.
AdrianTM wrote:There's no hacker in my grandma...

itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#10 Post by itbonifacio »

For a moment I thought this was a permissions issue so I issued a chmod command just to test. Issued a apt install -f and received the following for both hunspell-tr and dictionaries-common:

$ sudo apt-get install -f ./dictionaries-common_1.28.1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'dictionaries-common' instead of './dictionaries-common_1.28.1_all.deb'
Suggested packages:
ispell | aspell | hunspell wordlist
The following NEW packages will be installed:
dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/239 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 16530 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.28.1_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dictionaries-common' with
different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.28.1_all.deb (--unpack):
new dictionaries-common package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/dictionaries-common_1.28.1_all.deb
libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...
E: Sub-process /usr/bin/dpkg returned an error code (1)
yemoja@benin:~/Downloads$ ls -al hun*.deb
-rwxrwxrwx 1 yemoja yemoja 1903136 Apr 9 21:22 hunspell-tr_7.1.0_rc3-3_all.deb
yemoja@benin:~/Downloads$ sudo apt-get install -f ./hunspell-tr_7.1.0_rc3_all.deb
Reading package lists... Done
E: Unsupported file ./hunspell-tr_7.1.0_rc3_all.deb given on commandline



$ sudo apt-get install -f ./hunspell-tr_7.1.0_rc3-3_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'hunspell-tr' instead of './hunspell-tr_7.1.0_rc3-3_all.deb'
hunspell-tr is already the newest version (1:7.1.0~rc3-3).
Suggested packages:
ispell | aspell | hunspell wordlist
The following NEW packages will be installed:
dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/239 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 16530 files and directories currently installed.)
Preparing to unpack .../dictionaries-common_1.28.1_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
dpkg-divert: error: rename involves overwriting '/usr/share/dict/words.pre-dictionaries-common' with
different file '/usr/share/dict/words', not allowed
dpkg: error processing archive /var/cache/apt/archives/dictionaries-common_1.28.1_all.deb (--unpack):
new dictionaries-common package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/dictionaries-common_1.28.1_all.deb
libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...
E: Sub-process /usr/bin/dpkg returned an error code (1)

I issued a purge command and received the following:

sudo apt-get remove --purge hunspell-tr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
emacsen-common
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
hunspell-tr*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 9,687 kB disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states

What gives with these two packages?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#11 Post by dilberts_left_nut »

You have version mismatches.
Your hunspell-tr is from testing.
AdrianTM wrote:There's no hacker in my grandma...

itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#12 Post by itbonifacio »

I am not following you when you write mismatch?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#13 Post by dilberts_left_nut »

Those two packages (at least) are from different Debian versions.
AdrianTM wrote:There's no hacker in my grandma...

itbonifacio
Posts: 6
Joined: 2021-04-02 13:43

Re: Preparing to unpack .../dictionaries-common_1.28.1_all.d

#14 Post by itbonifacio »

Initially I issued the following command: apt-get purge hunspell-tr and received the same error messages. May have to re-install debian 10.9?

Post Reply