E: Subprocesso / usr / bin / dpkg retornou um código de erro (1) Ubuntu 15.04

1

Tentei usar os comandos do apt-get e estava recebendo isso de volta do meu VPS.

Não tenho certeza para onde ir, tentei algumas coisas, mas não tive sorte.

Obrigado Zac.

Saída de sudo apt-get install default-jdk :

ossiozac@vps171130:~$ sudo apt-get install default-jdk
[sudo] password for ossiozac: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
default-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up keyboard-configuration (1.108ubuntu5) ...
/var/lib/dpkg/info/keyboard-configuration.postinst: 1: /var/lib/dpkg/info/keyboard-configuration.postinst: udpkg: not found
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of console-setup:
 console-setup depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kbd:
 kbd depends on console-setup | console-setup-mini; however:
  Package console-setup is not configured yet.
  Package console-setup-mini is not installed.

dpkg: error processing package kbd (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on kbd (>= 1.15-1ubuntu3); however:
  Package kbd is not configured yet.
 console-setup-linux depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup-linux (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 keyboard-configuration
 console-setup
 kbd
 console-setup-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
ossiozac@vps171130:~$ 

sudo dpkg --configure -a out put:

ossiozac@vps171130:~$ sudo dpkg --configure -a
Setting up keyboard-configuration (1.108ubuntu5) ...
/var/lib/dpkg/info/keyboard-configuration.postinst: 1: /var/lib/dpkg/info/keyboard-configuration.postinst: udpkg: not found
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup-linux (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup:
 console-setup depends on console-setup-linux; however:
  Package console-setup-linux is not configured yet.
 console-setup depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kbd:
 kbd depends on console-setup | console-setup-mini; however:
  Package console-setup is not configured yet.
  Package console-setup-mini is not installed.

dpkg: error processing package kbd (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 keyboard-configuration
 console-setup-linux
 console-setup
 kbd
ossiozac@vps171130:~$ 



ossiozac@vps171130:~$ sudo apt-get update && sudo apt-get -f install
Ign http://archive.ubuntu.com vivid InRelease
Ign http://archive.ubuntu.com vivid-updates InRelease      
Hit http://archive.ubuntu.com vivid Release.gpg            
Get:1 http://archive.ubuntu.com vivid-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com vivid Release                                    
Get:2 http://archive.ubuntu.com vivid-updates Release [63.5 kB]                
Ign http://security.ubuntu.com vivid-security InRelease                        
Hit http://archive.ubuntu.com vivid/main amd64 Packages
Hit http://archive.ubuntu.com vivid/restricted amd64 Packages  
Hit http://archive.ubuntu.com vivid/universe amd64 Packages    
Hit http://archive.ubuntu.com vivid/main i386 Packages         
Hit http://archive.ubuntu.com vivid/restricted i386 Packages   
Hit http://archive.ubuntu.com vivid/universe i386 Packages
Get:3 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Hit http://archive.ubuntu.com vivid/main Translation-en_GB
Hit http://archive.ubuntu.com vivid/main Translation-en        
Hit http://archive.ubuntu.com vivid/restricted Translation-en_GB
Hit http://archive.ubuntu.com vivid/restricted Translation-en
Hit http://archive.ubuntu.com vivid/universe Translation-en_GB 
Hit http://archive.ubuntu.com vivid/universe Translation-en    
Get:4 http://archive.ubuntu.com vivid-updates/main amd64 Packages [66.6 kB]
Get:5 http://security.ubuntu.com vivid-security Release [63.5 kB]              
Get:6 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [28 B] 
Get:7 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [36.8 kB]
Get:8 http://archive.ubuntu.com vivid-updates/main i386 Packages [66.3 kB]     
Get:9 http://archive.ubuntu.com vivid-updates/restricted i386 Packages [28 B]  
Get:10 http://archive.ubuntu.com vivid-updates/universe i386 Packages [36.8 kB]
Hit http://archive.ubuntu.com vivid-updates/main Translation-en                
Hit http://archive.ubuntu.com vivid-updates/restricted Translation-en          
Hit http://archive.ubuntu.com vivid-updates/universe Translation-en            
94% [Packages 8,325 kB] [5 Release 42.5 kB/63.5 kB 67%]                        
Get:11 http://security.ubuntu.com vivid-security/main amd64 Packages [39.5 kB]
Get:12 http://security.ubuntu.com vivid-security/restricted amd64 Packages [28 B]
Get:13 http://security.ubuntu.com vivid-security/universe amd64 Packages [15.7 kB]
Get:14 http://security.ubuntu.com vivid-security/main i386 Packages [39.1 kB]
Get:15 http://security.ubuntu.com vivid-security/restricted i386 Packages [28 B]
Get:16 http://security.ubuntu.com vivid-security/universe i386 Packages [15.7 kB]
Hit http://security.ubuntu.com vivid-security/main Translation-en
Hit http://security.ubuntu.com vivid-security/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/universe Translation-en
Fetched 445 kB in 8s (53.1 kB/s)                                               
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up keyboard-configuration (1.108ubuntu5) ...
/var/lib/dpkg/info/keyboard-configuration.postinst: 1: /var/lib/dpkg/info/keyboard-configuration.postinst: udpkg: not found
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of console-setup:
 console-setup depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kbd:
 kbd depends on console-setup | console-setup-mini; however:
  Package console-setup is not configured yet.
  Package console-setup-mini is not installed.

dpkg: error processing package kbd (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on kbd (>= 1.15-1ubuntu3); however:
  Package kbd is not configured yet.
 console-setup-linux depends on keyboard-configuration (= 1.108ubuntu5); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup-linux (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 keyboard-configuration
 console-setup
 kbd
 console-setup-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

Executou isto para refazer pacotes

ossiozac@vps171130:~$ sudo apt-get remove --purge kbd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  console-common* console-setup* console-setup-linux* kbd*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 3,436 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 31532 files and directories currently installed.)
Removing console-common (0.7.88) ...
Purging configuration files for console-common (0.7.88) ...
Removing kbd (1.15.5-1ubuntu2) ...
Purging configuration files for kbd (1.15.5-1ubuntu2) ...
Removing console-setup (1.108ubuntu5) ...
Purging configuration files for console-setup (1.108ubuntu5) ...
Removing console-setup-linux (1.108ubuntu5) ...
Purging configuration files for console-setup-linux (1.108ubuntu5) ...
dpkg: warning: while removing console-setup-linux, directory '/etc/console-setup' not empty so not removed
Processing triggers for man-db (2.7.0.2-5) ...
Setting up keyboard-configuration (1.108ubuntu5) ...
/var/lib/dpkg/info/keyboard-configuration.postinst: 1: /var/lib/dpkg/info/keyboard-configuration.postinst: udpkg: not found
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu15) ...
ossiozac@vps171130:~$ sudo apt-get install kbd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  console-setup console-setup-linux
The following NEW packages will be installed:
  console-setup console-setup-linux kbd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,298 kB of archives.
After this operation, 2,625 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package kbd.
(Reading database ... 30993 files and directories currently installed.)
Preparing to unpack .../kbd_1.15.5-1ubuntu2_amd64.deb ...
Unpacking kbd (1.15.5-1ubuntu2) ...
Selecting previously unselected package console-setup-linux.
Preparing to unpack .../console-setup-linux_1.108ubuntu5_all.deb ...
Unpacking console-setup-linux (1.108ubuntu5) ...
Selecting previously unselected package console-setup.
Preparing to unpack .../console-setup_1.108ubuntu5_all.deb ...
Unpacking console-setup (1.108ubuntu5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up kbd (1.15.5-1ubuntu2) ...
Setting up console-setup-linux (1.108ubuntu5) ...
Setting up console-setup (1.108ubuntu5) ...
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu15) ...
ossiozac@vps171130:~$ 

java -Xmx1024M -Xms1024M -jar Voltz.jar nogui lido

ossiozac@vps171130:/mc$ java -Xmx1024M -Xms1024M -jar Voltz.jar nogui
2015-05-20 21:25:49 [INFO] [ForgeModLoader] Forge Mod Loader version 5.2.23.737 for Minecraft 1.5.2 loading
2015-05-20 21:25:49 [INFO] [ForgeModLoader] Java is OpenJDK 64-Bit Server VM, version 1.7.0_79, running on Linux:amd64:2.6.32-042stab106.4, installed at /usr/lib/jvm/java-7-openjdk-amd64/jre
2015-05-20 21:25:49 [WARNING] [ForgeModLoader] The coremod cofh.asm.CoFHPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2015-05-20 21:25:49 [WARNING] [ForgeModLoader] The coremod codechicken.core.asm.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2015-05-20 21:25:49 [WARNING] [ForgeModLoader] The coremod micdoodle8.mods.galacticraft.asm.GalacticraftPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2015-05-20 21:25:49 [WARNING] [ForgeModLoader] The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2015-05-20 21:25:49 [WARNING] [ForgeModLoader] The coremod mods.immibis.microblocks.coremod.MicroblocksCoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2015-05-20 21:25:49 [INFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] There was a problem downloading the file bcprov-jdk15on-148.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

2015-05-20 21:25:50 [INFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] There was a problem downloading the file scala-library.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean. 
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.2.zip
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/scala-library.jar
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] <===========>
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] A download error occured
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] A download error occured
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] <<< ==== >>>
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] The following is diagnostic information for developers to review.
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] Error details
java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)
Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1672)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)
    ... 5 more
Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2691)
    at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639)
    at java.net.URLConnection.getContentLengthLong(URLConnection.java:511)
    at java.net.URLConnection.getContentLength(URLConnection.java:495)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)
    ... 5 more
2015-05-20 21:25:50 [SEVERE] [ForgeModLoader] Error details
java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)
Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1672)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)
    ... 5 more
Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2691)
    at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639)
    at java.net.URLConnection.getContentLengthLong(URLConnection.java:511)
    at java.net.URLConnection.getContentLength(URLConnection.java:495)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)
    ... 5 more
2015-05-20 21:25:50 [INFO] [STDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: A fatal error occured and FML cannot continue
2015-05-20 21:25:50 [INFO] [STDERR]     at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:192)
2015-05-20 21:25:50 [INFO] [STDERR]     at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)
2015-05-20 21:25:50 [INFO] [STDERR]     at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)
2015-05-20 21:25:50 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)
2015-05-20 21:25:50 [INFO] [STDERR] Caused by: java.lang.RuntimeException: A fatal error occured and FML cannot continue
2015-05-20 21:25:50 [INFO] [STDERR]     at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:261)
2015-05-20 21:25:50 [INFO] [STDERR]     at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)
2015-05-20 21:25:50 [INFO] [STDERR]     ... 3 more
ossiozac@vps171130:/mc$ 

sudo apt-cache política default-jdk

ossiozac@vps171130:/mc$ sudo apt-cache policy default-jdk
default-jdk:
  Installed: 2:1.7-52
  Candidate: 2:1.7-52
  Version table:
 *** 2:1.7-52 0
        500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status
ossiozac@vps171130:/mc$ 
    
por OssioZac 20.05.2015 / 21:22

0 respostas