Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: E: Sub-process /usr/bin/dpkg returned an error code (2)

  1. #11
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Quote Originally Posted by deadflowr View Post
    No matter. It was worth a shot to see the problem but alas I became stumped by it.

    Look at this from Ask Ubuntu on how to try to fix this error problem
    http://askubuntu.com/questions/4834/...kg-status-file

    Basically, though, it calls for you to move an old backup copy into the existing files place.
    I tried following the instructions in the link.

    At the first stage:
    Code:
    sudo apt-get install pcregrep
    pcregrep -nM '\n\s*\n[^P]+' /var/lib/dpkg/status
    My terminal result:
    Code:
    sudo apt-get install pcregrep
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      gnome-exe-thumbnailer libcapi20-3 libnss-winbind libosmesa6 libpam-winbind linux-headers-3.8.0-26 linux-headers-3.8.0-26-generic
      linux-image-3.8.0-26-generic linux-image-extra-3.8.0-26-generic p7zip ttf-droid ttf-liberation ttf-umefont ttf-unfonts-core winbind
      wine-gecko1.4 wine-gecko2.21 wine-mono0.0.8 wine1.5 wine1.6 wine1.6-i386 winetricks
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
      pcregrep
    0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
    Need to get 0 B/26.2 kB of archives.
    After this operation, 74.8 kB of additional disk space will be used.
    dpkg: parse error, in file '/var/lib/dpkg/status' near line 4794 package 'wine1.6-i386':
     `Depends' field, invalid package name `wine1.6:any': character `:' not allowed (only letters, digits and characters `-+._')
    E: Sub-process /usr/bin/dpkg returned an error code (2)

  2. #12
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Quote Originally Posted by Bashing-om View Post
    Sky001; Well, well
    do:
    Code:
    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:ubuntu-wine-ppa-raring
    ls -la /etc/apt/sources.list.d
    and let us see then where you stand.
    ain't nothing but a thing
    I ran the code you gave me 3 times. Why did it abort?

    Code:
     sudo apt-get install ppa-purge
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      gnome-exe-thumbnailer libcapi20-3 libnss-winbind libosmesa6 libpam-winbind linux-headers-3.8.0-26 linux-headers-3.8.0-26-generic
      linux-image-3.8.0-26-generic linux-image-extra-3.8.0-26-generic p7zip ttf-droid ttf-liberation ttf-umefont ttf-unfonts-core winbind
      wine-gecko1.4 wine-gecko2.21 wine-mono0.0.8 wine1.5 wine1.6 wine1.6-i386 winetricks
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      aptitude aptitude-common libcwidget3
    Suggested packages:
      aptitude-doc-en aptitude-doc tasksel debtags libcwidget-dev
    The following NEW packages will be installed:
      aptitude aptitude-common libcwidget3 ppa-purge
    0 upgraded, 4 newly installed, 0 to remove and 45 not upgraded.
    Need to get 0 B/2,480 kB of archives.
    After this operation, 10.1 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Abort.

  3. #13
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Sky001; ...

    I am far from knowing all about this wonderful operating system .. I will surmise that there no longer exist the index files for ppa-purge to install.

    Let's see what we can find on the system yet in respect to "wine" prior to editing the index file.
    Code:
    sudo find / -name "wine*"
    This command searches your whole system for any instance of a "Wine" system file. Will take a bit of time to look through all the files .. be patient.

    If any returns, post them .. so we can see what should/might be done to remove them.

    longest journey begins with a 1st step
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #14
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    The list is rather long.

    Code:
    ~$ sudo find / -name "wine*"
    [sudo] password for saipal: 
    /etc/xdg/menus/applications-merged/wine.menu
    /home/saipal/.wine/drive_c/users/saipal/Application Data/wine_gecko
    /home/saipal/.wine/drive_c/windows/system32/winecfg.exe
    /home/saipal/.wine/drive_c/windows/system32/winealsa.drv
    /home/saipal/.wine/drive_c/windows/system32/wined3d.dll
    /home/saipal/.wine/drive_c/windows/system32/winegstreamer.dll
    /home/saipal/.wine/drive_c/windows/system32/wineboot.exe
    /home/saipal/.wine/drive_c/windows/system32/winepath.exe
    /home/saipal/.wine/drive_c/windows/system32/winex11.drv
    /home/saipal/.wine/drive_c/windows/system32/wineps16.drv
    /home/saipal/.wine/drive_c/windows/system32/winemsibuilder.exe
    /home/saipal/.wine/drive_c/windows/system32/winedevice.exe
    /home/saipal/.wine/drive_c/windows/system32/wineoss.drv
    /home/saipal/.wine/drive_c/windows/system32/winebrowser.exe
    /home/saipal/.wine/drive_c/windows/system32/winemenubuilder.exe
    /home/saipal/.wine/drive_c/windows/system32/winepulse.drv
    /home/saipal/.wine/drive_c/windows/system32/winemine.exe
    /home/saipal/.wine/drive_c/windows/system32/winejoystick.drv
    /home/saipal/.wine/drive_c/windows/system32/gecko/1.4/wine_gecko
    /home/saipal/.wine/drive_c/windows/system32/gecko/2.21/wine_gecko
    /home/saipal/.wine/drive_c/windows/system32/wineconsole.exe
    /home/saipal/.wine/drive_c/windows/system32/winemp3.acm
    /home/saipal/.wine/drive_c/windows/system32/winemapi.dll
    /home/saipal/.wine/drive_c/windows/system32/winefile.exe
    /home/saipal/.wine/drive_c/windows/system32/wineps.drv
    /home/saipal/.wine/drive_c/windows/system32/winevdm.exe
    /home/saipal/.wine/drive_c/windows/system32/winedbg.exe
    /home/saipal/.PlayOnLinux/wineprefix
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winecfg.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winealsa.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wined3d.dll
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winegstreamer.dll
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wineboot.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winepath.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winex11.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wineps16.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winemsibuilder.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winedevice.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wineoss.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winebrowser.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winemenubuilder.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winemine.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winejoystick.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/gecko/1.4/wine_gecko
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wineconsole.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winemp3.acm
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winemapi.dll
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winefile.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/wineps.drv
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winevdm.exe
    /home/saipal/.PlayOnLinux/wineprefix/DivineDiviniy/drive_c/windows/system32/winedbg.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winecfg.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winealsa.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wined3d.dll
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winegstreamer.dll
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wineboot.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winepath.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winex11.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wineps16.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winemsibuilder.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winedevice.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wineoss.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winebrowser.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winemenubuilder.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winemine.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winejoystick.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/gecko/1.4/wine_gecko
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wineconsole.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winemp3.acm
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winemapi.dll
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winefile.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/wineps.drv
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winevdm.exe
    /home/saipal/.PlayOnLinux/wineprefix/Mystical_Land/drive_c/windows/system32/winedbg.exe
    /home/saipal/.PlayOnLinux/wine
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winemine
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winefile
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wineconsole
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winecpp
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winebuild
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wine
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winemaker
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wineg++
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wineserver
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winedbg
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winecfg
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winedump
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winepath
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/winegcc
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wine-preloader
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/bin/wineboot
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winemapi.dll.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winefile.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winemine.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/wined3d.dll.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winedevice.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winecfg.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winealsa.drv
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/wined3d.dll
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/wineboot.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winepath.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winex11.drv
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winemsibuilder.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winedevice.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winebrowser.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winemenubuilder.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winemine.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winejoystick.drv
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/wineconsole.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winemp3.acm
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winemapi.dll
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winefile.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/wineps16.drv16
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/wineps.drv
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winevdm.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/fakedlls/winedbg.exe
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/wineconsole.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winedbg.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winebrowser.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winepath.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winevdm.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/wineps.drv.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winemsibuilder.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winex11.drv.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winemenubuilder.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winejoystick.drv.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winealsa.drv.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/wineps16.drv16.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winecfg.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/wineboot.exe.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/lib/wine/winemp3.acm.so
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/wine
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/wine/wine.inf
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/applications/wine.desktop
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/pl.UTF-8/man1/wine.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/wineboot.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winemaker.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/wine.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winedbg.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/wineconsole.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winegcc.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winedump.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/wineserver.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/wineg++.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winecfg.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winemine.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winecpp.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winepath.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winebuild.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/man1/winefile.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/de.UTF-8/man1/winemaker.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/de.UTF-8/man1/wine.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/de.UTF-8/man1/wineserver.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/fr.UTF-8/man1/winemaker.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/fr.UTF-8/man1/wine.1
    /home/saipal/.PlayOnLinux/wine/linux-x86/1.4/share/man/fr.UTF-8/man1/wineserver.1
    /home/saipal/.PlayOnLinux/wine/gecko/wine_gecko-1.4-x86.msi
    /home/saipal/.PlayOnLinux/plugins/Wine Look/scripts/wine_colors_from_gnome.py
    /home/saipal/.PlayOnLinux/plugins/Capture/software/usr/bin/wine-pthread
    /home/saipal/.PlayOnLinux/plugins/Capture/software/usr/bin64/wine-pthread
    /home/saipal/.config/menus/applications-merged/wine-Programs-Drakensang Online-Uninstall.menu
    /home/saipal/.config/menus/applications-merged/wine-Programs-Drakensang Online-Drakensang Online.menu
    /home/saipal/.config/menus/applications-merged/wine-Programs-AeriaGames-Ignite.menu
    /home/saipal/.cache/winetricks
    /home/saipal/.local/share/desktop-directories/wine-wine.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs-Joymax-Silkroad.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs-Drakensang Online.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs-Joymax.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs-Torchlight 2.directory
    /home/saipal/.local/share/desktop-directories/wine-Programs-AeriaGames.directory
    /home/saipal/.local/share/applications/wine-extension-hlp.desktop
    /home/saipal/.local/share/applications/wine-extension-jfif.desktop
    /home/saipal/.local/share/applications/wine-extension-txt.desktop
    /home/saipal/.local/share/applications/wine-extension-png.desktop
    /home/saipal/.local/share/applications/wine-extension-htm.desktop
    /home/saipal/.local/share/applications/wine-extension-wri.desktop
    /home/saipal/.local/share/applications/wine-extension-jpe.desktop
    /home/saipal/.local/share/applications/wine
    /home/saipal/.local/share/applications/wine-extension-gif.desktop
    /home/saipal/.local/share/applications/wine-extension-ini.desktop
    /home/saipal/.local/share/applications/wine-extension-chm.desktop
    /home/saipal/.local/share/applications/wine-extension-msp.desktop
    /home/saipal/.local/share/applications/wine-extension-rtf.desktop
    /home/saipal/.local/share/applications/wine-extension-url.desktop
    /home/saipal/.local/share/applications/wine-extension-vbs.desktop
    /home/saipal/.local/share/applications/wine-extension-xml.desktop
    /var/lib/binfmts/wine
    /var/lib/dpkg/info/wine1.6-i386.postrm
    /var/lib/dpkg/info/winetricks.list
    /var/lib/dpkg/info/wine1.6-i386.postinst
    /var/lib/dpkg/info/wine1.6.conffiles
    /var/lib/dpkg/info/wine-gecko1.4:i386.md5sums
    /var/lib/dpkg/info/wine-mono0.0.8.md5sums
    /var/lib/dpkg/info/wine1.4.postrm
    /var/lib/dpkg/info/wine1.6.config
    /var/lib/dpkg/info/wine1.4-i386.list
    /var/lib/dpkg/info/wine1.6.postinst
    /var/lib/dpkg/info/wine1.6.preinst
    /var/lib/dpkg/info/wine-mono0.0.8.list
    /var/lib/dpkg/info/winetricks.md5sums
    /var/lib/dpkg/info/wine1.6-i386.list
    /var/lib/dpkg/info/wine1.6.list
    /var/lib/dpkg/info/wine-gecko2.21:i386.md5sums
    /var/lib/dpkg/info/wine1.6-i386.md5sums
    /var/lib/dpkg/info/wine-gecko1.4:i386.list
    /var/lib/dpkg/info/wine1.6-i386.shlibs
    /var/lib/dpkg/info/wine-gecko2.21:i386.list
    /var/lib/dpkg/info/wine1.6.postrm
    /var/lib/dpkg/info/wine1.6.md5sums
    /var/lib/dpkg/info/wine1.4.list
    /var/lib/dpkg/info/wine1.5.md5sums
    /var/lib/dpkg/info/wine1.4-i386.postrm
    /var/lib/dpkg/info/wine1.5.list
    /var/lib/dpkg/info/wine1.6.prerm
    /var/cache/apt/archives/wine1.6-i386_1.6-0ubuntu1~ppa1_i386.deb
    /var/cache/apt/archives/wine-gecko2.21_2.21-0ubuntu1~ppa1~precise1_i386.deb
    /var/cache/apt/archives/wine-mono0.0.8_0.0.8-0ubuntu1~ppa1_all.deb
    /var/cache/apt/archives/wine1.5_1.6-0ubuntu1~ppa1_i386.deb
    /var/cache/apt/archives/wine1.6_1.6-0ubuntu1~ppa1_i386.deb
    /var/cache/apt/archives/wine_1.6-0ubuntu1~ppa1_i386.deb
    /var/cache/apt/archives/winetricks_0.0+20130707~precise1~ppa1_i386.deb
    /usr/bin/wine-preloader
    /usr/bin/winefile
    /usr/bin/wineboot
    /usr/bin/winedump
    /usr/bin/wineconsole
    /usr/bin/wine
    /usr/bin/winegcc
    /usr/bin/winemaker
    /usr/bin/winedbg
    /usr/bin/winemine
    /usr/bin/winetricks
    /usr/bin/winecpp
    /usr/bin/winepath
    /usr/bin/wine-auto
    /usr/bin/winecfg
    /usr/bin/wineg++
    /usr/bin/wineserver
    /usr/bin/winebuild
    /usr/share/wine
    /usr/share/wine/wine.inf
    /usr/share/wine/mono/wine-mono-0.0.8.msi
    /usr/share/wine/gecko/wine_gecko-1.4-x86.msi
    /usr/share/wine/gecko/wine_gecko-2.21-x86.msi
    /usr/share/wine/wineserver-restart-required.update-notifier
    /usr/share/bash-completion/completions/wine
    /usr/share/desktop-directories/wine-Programs.directory
    /usr/share/desktop-directories/wine-Programs-Accessories.directory
    /usr/share/desktop-directories/wine-wine.directory
    /usr/share/man/man1/winedbg.1.gz
    /usr/share/man/man1/winepath.1.gz
    /usr/share/man/man1/winefile.1.gz
    /usr/share/man/man1/wineconsole.1.gz
    /usr/share/man/man1/winecfg.1.gz
    /usr/share/man/man1/winecpp.1.gz
    /usr/share/man/man1/wine.1.gz
    /usr/share/man/man1/wineserver.1.gz
    /usr/share/man/man1/winemaker.1.gz
    /usr/share/man/man1/wineboot.1.gz
    /usr/share/man/man1/winemine.1.gz
    /usr/share/man/man1/winegcc.1.gz
    /usr/share/man/man1/winedump.1.gz
    /usr/share/man/man1/wineg++.1.gz
    /usr/share/man/man1/winebuild.1.gz
    /usr/share/man/de.UTF-8/man1/wine.1.gz
    /usr/share/man/de.UTF-8/man1/wineserver.1.gz
    /usr/share/man/de.UTF-8/man1/winemaker.1.gz
    /usr/share/man/fr.UTF-8/man1/wine.1.gz
    /usr/share/man/fr.UTF-8/man1/wineserver.1.gz
    /usr/share/man/fr.UTF-8/man1/winemaker.1.gz
    /usr/share/man/pl.UTF-8/man1/wine.1.gz
    /usr/share/playonlinux/etc/onglet/wine.png
    /usr/share/playonlinux/etc/setups/wineserver
    /usr/share/playonlinux/etc/install/wine-packages.png
    /usr/share/playonlinux/etc/install/wine-warning.png
    /usr/share/playonlinux/etc/install/wine.png
    /usr/share/playonlinux/resources/images/menu/wineserver.png
    /usr/share/playonlinux/resources/images/menu/winecfg.png
    /usr/share/playonlinux/resources/images/menu/wine.png
    /usr/share/playonlinux/resources/images/setups/wineserver
    /usr/share/playonlinux/resources/images/install/wine-packages.png
    /usr/share/playonlinux/resources/images/install/wine-warning.png
    /usr/share/playonlinux/resources/images/install/wine.png
    /usr/share/playonlinux/resources/images/configure/wineboot.png
    /usr/share/playonlinux/resources/images/configure/winecfg.png
    /usr/share/playonlinux/resources/images/configure/wine-uninstaller.png
    /usr/share/playonlinux/resources/images/configure/wine-winecfg.png
    /usr/share/playonlinux/bash/winebash
    /usr/share/playonlinux/python/wine_versions.py
    /usr/share/playonlinux/python/lib/wine.py
    /usr/share/playonlinux/lib/wine.lib
    /usr/share/applications/wine-winecfg.desktop
    /usr/share/applications/wine-winetricks.desktop
    /usr/share/applications/wine-browsedrive.desktop
    /usr/share/applications/wine-notepad.desktop
    /usr/share/applications/wine-uninstaller.desktop
    /usr/share/applications/wine.desktop
    /usr/share/binfmts/wine
    /usr/share/doc/wine1.5
    /usr/share/doc/texlive-doc/latex/newlfm/wine.pdf
    /usr/share/doc/texlive-doc/latex/newlfm/wine.eps.gz
    /usr/share/doc/wine-mono0.0.8
    /usr/share/doc/texlive-latex-extra-doc/latex/newlfm/wine.pdf
    /usr/share/doc/texlive-latex-extra-doc/latex/newlfm/wine.eps.gz
    /usr/share/doc/wine1.6
    /usr/share/doc/wine1.6-i386
    /usr/share/doc/wine-gecko1.4
    /usr/share/doc/winetricks
    /usr/share/doc/wine-gecko2.21
    /usr/share/app-install/desktop/wine1.4:wine.desktop
    /usr/share/app-install/desktop/winefish:winefish.desktop
    /usr/share/app-install/icons/wine.svg
    /usr/share/icons/hicolor/scalable/apps/wine-winecfg.svg
    /usr/share/icons/hicolor/scalable/apps/wine.svg
    /usr/share/icons/hicolor/scalable/apps/wine-winetricks.svg
    /usr/share/icons/hicolor/scalable/apps/wine-uninstaller.svg
    /usr/share/icons/hicolor/48x48/apps/wine.png
    /usr/share/icons/hicolor/48x48/apps/wine-uninstaller.png
    /usr/share/icons/hicolor/48x48/apps/wine-notepad.png
    /usr/share/icons/hicolor/48x48/apps/wine-winecfg.png
    /usr/share/icons/hicolor/22x22/apps/wine.png
    /usr/share/icons/hicolor/22x22/apps/wine-uninstaller.png
    /usr/share/icons/hicolor/22x22/apps/wine-notepad.png
    /usr/share/icons/hicolor/22x22/apps/wine-winecfg.png
    /usr/share/icons/hicolor/24x24/apps/wine.png
    /usr/share/icons/hicolor/24x24/apps/wine-uninstaller.png
    /usr/share/icons/hicolor/24x24/apps/wine-notepad.png
    /usr/share/icons/hicolor/24x24/apps/wine-winecfg.png
    /usr/share/icons/hicolor/32x32/apps/wine.png
    /usr/share/icons/hicolor/32x32/apps/wine-uninstaller.png
    /usr/share/icons/hicolor/32x32/apps/wine-notepad.png
    /usr/share/icons/hicolor/32x32/apps/wine-winecfg.png
    /usr/share/icons/hicolor/16x16/apps/wine.png
    /usr/share/icons/hicolor/16x16/apps/wine-uninstaller.png
    /usr/share/icons/hicolor/16x16/apps/wine-notepad.png
    /usr/share/icons/hicolor/16x16/apps/wine-winecfg.png
    /usr/share/lintian/overrides/wine1.6
    /usr/lib/i386-linux-gnu/wine
    /usr/lib/i386-linux-gnu/wine/winemsibuilder.exe.so
    /usr/lib/i386-linux-gnu/wine/winebrowser.exe.so
    /usr/lib/i386-linux-gnu/wine/winex11.drv.so
    /usr/lib/i386-linux-gnu/wine/wineoss.drv.so
    /usr/lib/i386-linux-gnu/wine/winemapi.dll.so
    /usr/lib/i386-linux-gnu/wine/wineps16.drv16.so
    /usr/lib/i386-linux-gnu/wine/winefile.exe.so
    /usr/lib/i386-linux-gnu/wine/winevdm.exe.so
    /usr/lib/i386-linux-gnu/wine/wineps.drv.so
    /usr/lib/i386-linux-gnu/wine/winemine.exe.so
    /usr/lib/i386-linux-gnu/wine/winepulse.drv.so
    /usr/lib/i386-linux-gnu/wine/wined3d.dll.so
    /usr/lib/i386-linux-gnu/wine/winecfg.exe.so
    /usr/lib/i386-linux-gnu/wine/winedbg.exe.so
    /usr/lib/i386-linux-gnu/wine/winejoystick.drv.so
    /usr/lib/i386-linux-gnu/wine/winedevice.exe.so
    /usr/lib/i386-linux-gnu/wine/wineconsole.exe.so
    /usr/lib/i386-linux-gnu/wine/winemenubuilder.exe.so
    /usr/lib/i386-linux-gnu/wine/wineboot.exe.so
    /usr/lib/i386-linux-gnu/wine/winepath.exe.so
    /usr/lib/i386-linux-gnu/wine/winealsa.drv.so
    /usr/lib/i386-linux-gnu/wine/winemp3.acm.so
    /usr/lib/i386-linux-gnu/wine/winegstreamer.dll.so
    /usr/lib/i386-linux-gnu/wine/fakedlls/winemp3.acm
    /usr/lib/i386-linux-gnu/wine/fakedlls/winedevice.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winepulse.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/winefile.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/wined3d.dll
    /usr/lib/i386-linux-gnu/wine/fakedlls/winejoystick.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/wineps16.drv16
    /usr/lib/i386-linux-gnu/wine/fakedlls/winemsibuilder.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/wineconsole.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winemapi.dll
    /usr/lib/i386-linux-gnu/wine/fakedlls/wineoss.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/winebrowser.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winex11.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/winedbg.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/wineboot.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winealsa.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/winecfg.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/wineps.drv
    /usr/lib/i386-linux-gnu/wine/fakedlls/winegstreamer.dll
    /usr/lib/i386-linux-gnu/wine/fakedlls/winemenubuilder.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winepath.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winevdm.exe
    /usr/lib/i386-linux-gnu/wine/fakedlls/winemine.exe
    /usr/lib/mime/packages/wine1.6
    /proc/sys/fs/binfmt_misc/wine
    And here I thought I had removed some of this wine.

  5. #15
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Sky001; Oh My !

    Have you got your work cut out for you ..
    Admonishment: should have done the homework first and known to use ppa-purge to remove any third party software ! -Ain't ubuntu - !
    Upfront; I have no experience with either Wine or PlayonLinux .. That could be a serious disadvantage in this endeavor. I have no idea what files Wine and PlayonLinux may share.
    The only recourse I am presently aware of is to manually remove all those "Wine" files and then clean up the index files. It might be a benefit to await others advise in this respect .. perhaps there exist a better option than manually removing these files and risking removing something required of the system - or breaking PlayonLinux.

    OR .. might try and (re-)install Wine and if it does install properly ... then remove it via ppa-purge command ??? Which might prove to be the better course.

    Others with the experience can advise better, no doubt. Might behoove us to await their advise.

    I like the option to attempt to (re-)install Wine and then properly remove it .. let the system do the work for us ..iffy though that it will install with no problems at this stage. But, worth a shot ? .. Have you attempted at all to (re-)install Wine ?

    Is PlayonLinux presently functional ? What are we going to break !

    may be a tough row to hoe
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #16
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    I tried reinstalling wine using the terminal, using synaptic and using Ubuntu Software Center. The same error was returned. Linux is turning out much much harder to use than I wanted. Sometimes I feel as though I need a degree in computer science to make this machine work as I need it to. I'll probably end up purchasing a large hard drive, transferring all my data over and doing a full reinstall.

    Since I really don't understand what is wrong; I find it especially scary manually deleting all those files. I don't want to touch the power button and have this pc refuse to start.

    I suppose now I really (really) know I need to learn shell commands and perhaps go through several books on computer structure. What am I doing with my life?

  7. #17
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Sky001' Hey !

    Let's put things in perspective.

    There are many side benefits to learning to live with your operating system.

    The current situation is not a 'buntu problem .. you chose to install 3rd party software that in it's self is outside of the umbrella of protection of the package management system. Now we can only try and fix it with the tools at our disposal. If you have not guessed it .. I have a great deal of respect and admiration for this operating system. With time and effort and a lot of frustration this situation is fixable.

    What we have in your system is a failure to communicate. Dependency issues, in that files depend on other files to perform properly, - any one of those files missing and/or corrupt to either purge an application or install the application - prevent the completion of the task.

    As it has proven difficult to (re-)install Wine .. let us look at what is entailed in manually completing the purging of wine.
    From the command line; remove ALL those remaining files in a slow and tedious time consuming manner ... then
    manually edit two index files to remove all those "pointers" to "Wine"
    then -> update all the packages on your system ...
    and repeat until the system is error free.

    And yes. it is a big deal.. on the bright side; you will learn a lot about your operating system and how to live with it ...This is a truly powerful operating system but that great power can only be unleashed from the command line ..Like any operating system there is a learning curve and if you are coming from windows it is indeed a steep learning curve .. requiring a different mindset.

    If you choose to fix this install it is possible, though not at all probable. that it can be rendered "unbootable". There is that slight risk. We are removing application specific files and should not touch any system files in this operation. The worst I foresee happening is possibly breaking PlayonLinux.

    You may rest assured that you are not the first to be in this situation. I will spend a bit of time looking about for what others have gone through in order to restore their system. There is no point in re-inventing the wheel .. others have been there and done that and related the circumstances .. see ain't ubuntu wonderful !

    Finally, If you are certain you are going to upgrade your hardware and do a clean install, there is little point in putting forth the effort that it may take to restore this install. Restoring will in any event be an experience and that in and of it's self makes it worth-the-while.

    it is all a work in progress
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #18
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    I know it's been a few days, but in the end I decided to stick with it. I manually removed all the listed files with the exception of this /proc/sys/fs/binfmt_misc/wine. when I try
    Code:
     sudo rm wine
    I get
    Code:
    rm: cannot remove 'wine': Operation not permitted
    .

    I suppose the next steps would be first figuring out how to remove the above file then move on to edit the index files? Where can I find those index files?

  9. #19
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Sky001; Hello ,,,
    I'll hang with you and help the best I am able.
    As to any file in "/proc" I do not think one need worry about any file that is there.. as "/proc" is a virtual file system in ram ... and does not survive through a reboot ... maybe have to worry about what is placing a file in "/proc"...

    To that end have you looked at all the Wine related files in the "/var/lib/dpkg/info/" directory ... seen all the files that are being tracked by the operating system .. and manually removed all those ???
    let's see what is left in "/var/lib/dpkg/info/" to give us some direction on what else to remove.
    Code:
    ls -la  /var/lib/dpkg/info/wine*
    and anything interesting here ?:
    Code:
    less /var/lib/dpkg/status | grep wine
    tough row to hoe, but it is doable
    Last edited by Bashing-om; September 2nd, 2013 at 02:11 AM. Reason: syntax error /var/lib/dpkg/status/
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  10. #20
    Join Date
    Mar 2013
    Beans
    31

    Re: E: Sub-process /usr/bin/dpkg returned an error code (2)

    Quote Originally Posted by Bashing-om View Post
    Sky001; Hello ,,,
    I'll hang with you and help the best I am able.
    As to any file in "/proc" I do not think one need worry about any file that is there.. as "/proc" is a virtual file system in ram ... and does not survive through a reboot ... maybe have to worry about what is placing a file in "/proc"...

    To that end have you looked at all the Wine related files in the "/var/lib/dpkg/info/" directory ... seen all the files that are being tracked by the operating system .. and manually removed all those ???
    let's see what is left in "/var/lib/dpkg/info/" to give us some direction on what else to remove.
    Code:
    ls -la  /var/lib/dpkg/info/wine*
    and anything interesting here ?:
    Code:
    less /var/lib/dpkg/status/ | grep wine
    tough row to hoe, but it is doable
    Thanks for sticking around, you've been so very helpful so far. I'll be by my computer for the most part today. Hopefully we can have this problem solved.

    The code
    Code:
    ls -la /var/lib/dpkg/info/wine*
    returns
    Code:
    ls: cannot access /var/lib/dpkg/info/wine*: No such file or directory
    The code
    Code:
     less /var/lib/dpkg/status/ | grep wine
    returns
    Code:
     /var/lib/dpkg/status/: Not a directory
    Status is a file. Were you looking for something specific?

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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