Apt-get upgrade issues

Forum Forums New users New Users and General Questions Apt-get upgrade issues

  • This topic has 4 replies, 2 voices, and was last updated Apr 26-7:22 am by Xecure.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #58050
    Member
    dukester

    Via synaptic, these two issues popped up:

     sudo apt install firmware-realtek              
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages will be upgraded:
      firmware-realtek
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/920 kB of archives.
    After this operation, 607 kB of additional disk space will be used.
    (Reading database ... 197688 files and directories currently installed.)
    Preparing to unpack .../firmware-realtek_20210315-2_all.deb ...
    Unpacking firmware-realtek (20210315-2) over (20200918-1.0antix1) ...
    dpkg: error processing archive /var/cache/apt/archives/firmware-realtek_20210315-2_all.deb (--unpack):
     trying to overwrite '/lib/firmware/rtl_bt/rtl8723bs_config-OBDA8723.bin', which is also in package connman-bluetooth-firmware-antix 0.1.0
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/firmware-realtek_20210315-2_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    sudo apt install initscripts
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages will be upgraded:
      initscripts
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/58.7 kB of archives.
    After this operation, 37.9 kB disk space will be freed.
    (Reading database ... 197688 files and directories currently installed.)
    Preparing to unpack .../initscripts_2.96-7_all.deb ...
    Unpacking initscripts (2.96-7) over (2.93-8) ...
    dpkg: error processing archive /var/cache/apt/archives/initscripts_2.96-7_all.deb (--unpack):
     trying to overwrite '/etc/rc.local', which is also in package fbsplash-antix 0.3.1
    Errors were encountered while processing:
     /var/cache/apt/archives/initscripts_2.96-7_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Any ideas on how to fix these? TIA

    --
    dukester

    #58053
    Member
    Xecure
    Helpful
    Up
    0
    :D

    Hi. the solutions were posted in other posts
    sudo apt purge connman-bluetooth-firmware-antix
    and
    dpkg -i --force-overwrite /var/cache/apt/archives/initscripts_2.96-6_all.deb

    BUT, before you run those commands, could you tell us which antiX version you are running,and how did you set your repos?
    inxi -r

    For the first problem (connman-bluetooth-firmware-antix), this package was created by anticapitalista to solve a problem to a user during antiX 19 beta testing, but that firmware is now included in newer firmware packages, so it is no longer needed.
    The second problem, related to initscripts was initially reported here and soon after anticapitalista released a fix for fbsplash-antix. If your update is not receiving it, my guess is that you have mismatched repositories in your apt sources (probably debian is set to testing/sid, while antix repo is still set to buster).
    That is why I suggest you always inform of the antiX version and repo situation when experiencing apt troubles.

    #58061
    Member
    dukester
    Helpful
    Up
    0
    :D

    inxi -r
    Repos:
    No active apt repos in: /etc/apt/sources.list
    Active apt repos in: /etc/apt/sources.list.d/antix.list
    1: deb http://mirror.it.ubc.ca/mxlinux/antix/buster/ buster main nonfree nosystemd
    Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
    1: deb http://deb.debian.org/debian/ buster-backports main contrib non-free
    Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://ftp.ca.debian.org/debian/ buster-updates main contrib non-free
    Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://ftp.ca.debian.org/debian/ buster main contrib non-free
    2: deb http://security.debian.org/ buster/updates main contrib non-free
    3: deb http://ftp.ca.debian.org/debian/ unstable main contrib non-free
    No active apt repos in: /etc/apt/sources.list.d/onion.list
    Active apt repos in: /etc/apt/sources.list.d/various.list
    1: deb http://liquorix.net/debian/ sid main

    --
    dukester

    #58067
    Member
    Xecure
    Helpful
    Up
    0
    :D

    You must have already guessed by reading your repo summary.
    antiX repo: uses buster
    debian repo: uses buster AND UNSTABLE
    liquorix repo: uses SID

    Once you break the wall that separates you fro unstable, there is no going back.

    I understand that you prefer unstable/sid repos, because there are newer packages. If so, then you need to also set the antiX repo to unstable and disable debian buster, debian-buster-security, buster-updates and buster-backports, so you can fully use nstable.
    You need (at least) to change the antiX repo to sid, so that the packages match. Or else, you will always have package problems, as they come from different sources.

    #58068
    Member
    Xecure
    Helpful
    Up
    0
    :D

    Or you could also change all repos to bullseye, so that you can keep up to date and enter gracefully into the new-stable (once it is released).

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.