Results 1 to 3 of 3

Thread: apt-get Problems while remastering

  1. #1
    Junior Member
    Join Date
    Jun 2005
    Location
    New York, USA
    Posts
    2

    apt-get Problems while remastering

    Hi,

    I am a long time gentoo user, but fairly new to debian. I am trying to remaster knoppix to add some multimedia software (hopefully mythtv among others). I am starting with the current cd image (4.0.2) but I'm planning to burn it to a dvd (add software, without removing anything). I am using the HOWTO on the knoppix wiki. Anyway, I am having trouble with apt-get wanting to remove packages (all of kde in fact) and I can't seem to find a way to stop it. If I add kde to the list of packages to install with apt-get, it decides not to remove all but a few packages, which would be fine except that kdebluetooth is one of the packages it wants to remove, which can't be removed for some reason. I would prefer if I didn't have to remove any software, so I would appreciate it if someone could tell me how to accomplish that. Otherwise, the errors I get when apt-get tries to remove kdebluetooth are below, and If someone could tell me what I can do about it, I would also appreciate that. I was able to find that apt-get has an option to exit without removing software, but that doesn't help much.

    Code:
    Removing kdebluetooth ...
    dpkg-divert: mismatch on divert-to
      when removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock_nobt by kdebluetooth'
      found `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix'
    dpkg: error processing kdebluetooth (--remove):
     subprocess post-removal script returned error exit status 2
    Errors were encountered while processing:
     kdebluetooth
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    If it affects anything, I am using my gentoo install as a host system while remastering, but I can't imagine why it would matter.

    Thanks,
    Ben

  2. #2
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: apt-get Problems while remastering

    Quote Originally Posted by mben
    Code:
    Removing kdebluetooth ...
    dpkg-divert: mismatch on divert-to
      when removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock_nobt by kdebluetooth'
      found `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix'
    dpkg: error processing kdebluetooth (--remove):
     subprocess post-removal script returned error exit status 2
    Errors were encountered while processing:
     kdebluetooth
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Ben
    The thing to do is to remove diversion (dpkg-divert) from /usr/bin/kdesktop_lock to /usr/bin/kdesktop.orig. Do it like this:
    Code:
    
    -tapsa-
    
    #rm /usr/bin/kdesktop_lock
    
    # dpkg-divert --rename --remove /usr/bin/kdesktop_lock
    Removing `diversion of /usr/bin/kdesktop_lock to /usr/bin/kdesktop_lock.orig by kdelock-knoppix'

  3. #3
    Junior Member
    Join Date
    Jun 2005
    Location
    New York, USA
    Posts
    2
    Thanks for the tip,

    It seems to have worked so far, but the server I was using for mythtv,etc packages is down at the moment so I haven't been able to completely put it to the test.

Similar Threads

  1. Remastering problems in KDE Desktop
    By kurush_ishraqi in forum Customising & Remastering
    Replies: 0
    Last Post: 03-19-2008, 08:24 AM
  2. Problems remastering
    By Sendotux in forum Customising & Remastering
    Replies: 1
    Last Post: 08-06-2006, 06:35 PM
  3. Remastering Problems
    By yoshu in forum Customising & Remastering
    Replies: 2
    Last Post: 04-27-2006, 11:06 AM
  4. Some problems after remastering
    By raj1478 in forum Customising & Remastering
    Replies: 3
    Last Post: 02-01-2005, 09:26 AM
  5. Problems by remastering
    By Georgy#28 in forum Customising & Remastering
    Replies: 2
    Last Post: 05-11-2004, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


PfSense/OPNsense 6x1Gb, Quad Core, 8GB, 128GB SSD, AES-NI, QAT (Lanner FW-7525D) picture

PfSense/OPNsense 6x1Gb, Quad Core, 8GB, 128GB SSD, AES-NI, QAT (Lanner FW-7525D)

$85.00



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$298.00



Cisco ASA 5506-X Network Security Firewall Appliance with FirePOWER Services picture

Cisco ASA 5506-X Network Security Firewall Appliance with FirePOWER Services

$49.99



Cisco ASA 5506-X Network Security Firewall Appliance- No Adapter picture

Cisco ASA 5506-X Network Security Firewall Appliance- No Adapter

$50.00



Fortinet FortiGate FortiWiFi 80F Network Security Firewall (FG-80F) picture

Fortinet FortiGate FortiWiFi 80F Network Security Firewall (FG-80F)

$73.49



OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$145.00



10GbE OPNsense Firewall VPN AES QAT 4-Core Atom C3558 2.20GHz 8GB DDR4 128GB SSD picture

10GbE OPNsense Firewall VPN AES QAT 4-Core Atom C3558 2.20GHz 8GB DDR4 128GB SSD

$165.00



PfSense/OPNsense - 2x1Gb, 4x2.5Gb, 2x10Gb, C3558, 4GB, 128GB NVMe, AES-NI, QAT picture

PfSense/OPNsense - 2x1Gb, 4x2.5Gb, 2x10Gb, C3558, 4GB, 128GB NVMe, AES-NI, QAT

$259.00



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00



SonicWall SOHO Wireless Network Security Appliance 01-SSC-0218 picture

SonicWall SOHO Wireless Network Security Appliance 01-SSC-0218

$199.00