Jump to content

Recommended Posts

Posted

Trying to install forge on Debian 11 (bullseye). I ran java -jar forge-1.18-38.0.4-installer.jar in the terminal, and that part seemed to work fine. I did the install client, and it was fine until the building processors step. It stopped and gave the following error message:

Failed to run processor: java.lang.RuntimeException:Could not delete output file: home/[user]/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt

My dad did the same thing on his computer without complications.
Any help would be much appreciated.

Below is the installation log:

JVM info: Debian - 17.0.1 - 17.0.1+12-Debian-1deb11u2
java.net.preferIPv4Stack=true
Found java version 17.0.1
Extracting json
Considering minecraft client jar
Downloading libraries
Found 0 additional library directories
Considering library cpw.mods:securejarhandler:0.9.54
  File exists: Checksum validated.
Considering library org.ow2.asm:asm:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-commons:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-tree:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-util:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-analysis:9.1
  File exists: Checksum validated.
Considering library net.minecraftforge:accesstransformers:8.0.4
  File exists: Checksum validated.
Considering library org.antlr:antlr4-runtime:4.9.1
  File exists: Checksum validated.
Considering library net.minecraftforge:eventbus:5.0.3
  File exists: Checksum validated.
Considering library net.minecraftforge:forgespi:4.0.10
  File exists: Checksum validated.
Considering library net.minecraftforge:coremods:5.0.1
  File exists: Checksum validated.
Considering library cpw.mods:modlauncher:9.0.7
  File exists: Checksum validated.
Considering library net.minecraftforge:unsafe:0.2.0
  File exists: Checksum validated.
Considering library com.electronwill.night-config:core:3.6.4
  File exists: Checksum validated.
Considering library com.electronwill.night-config:toml:3.6.4
  File exists: Checksum validated.
Considering library org.apache.maven:maven-artifact:3.6.3
  File exists: Checksum validated.
Considering library org.apache.commons:commons-lang3:3.12.0
  File exists: Checksum validated.
Considering library net.jodah:typetools:0.8.3
  File exists: Checksum validated.
Considering library org.apache.logging.log4j:log4j-api:2.14.1
  File exists: Checksum validated.
Considering library org.apache.logging.log4j:log4j-core:2.14.1
  File exists: Checksum validated.
Considering library net.minecrell:terminalconsoleappender:1.2.0
  File exists: Checksum validated.
Considering library org.jline:jline-reader:3.12.1
  File exists: Checksum validated.
Considering library org.jline:jline-terminal:3.12.1
  File exists: Checksum validated.
Considering library net.sf.jopt-simple:jopt-simple:5.0.4
  File exists: Checksum validated.
Considering library org.openjdk.nashorn:nashorn-core:15.3
  File exists: Checksum validated.
Considering library com.google.guava:guava:31.0.1-jre
  File exists: Checksum validated.
Considering library com.google.code.gson:gson:2.8.8
  File exists: Checksum validated.
Considering library cpw.mods:bootstraplauncher:0.1.17
  File exists: Checksum validated.
Considering library net.minecraftforge:fmlloader:1.18-38.0.4
  File exists: Checksum validated.
Considering library com.github.jponge:lzma-java:1.3
  File exists: Checksum validated.
Considering library com.google.code.findbugs:jsr305:3.0.2
  File exists: Checksum validated.
Considering library com.google.code.gson:gson:2.8.7
  File exists: Checksum validated.
Considering library com.google.errorprone:error_prone_annotations:2.1.3
  File exists: Checksum validated.
Considering library com.google.guava:guava:20.0
  File exists: Checksum validated.
Considering library com.google.guava:guava:25.1-jre
  File exists: Checksum validated.
Considering library com.google.j2objc:j2objc-annotations:1.1
  File exists: Checksum validated.
Considering library com.nothome:javaxdelta:2.0.1
  File exists: Checksum validated.
Considering library com.opencsv:opencsv:4.4
  File exists: Checksum validated.
Considering library commons-beanutils:commons-beanutils:1.9.3
  File exists: Checksum validated.
Considering library commons-collections:commons-collections:3.2.2
  File exists: Checksum validated.
Considering library commons-io:commons-io:2.4
  File exists: Checksum validated.
Considering library commons-logging:commons-logging:1.2
  File exists: Checksum validated.
Considering library de.oceanlabs.mcp:mcp_config:1.18-20211130.085255@zip
  File exists: Checksum validated.
Considering library de.siegmar:fastcsv:2.0.0
  File exists: Checksum validated.
Considering library net.md-5:SpecialSource:1.10.0
  File exists: Checksum validated.
Considering library net.minecraftforge:ForgeAutoRenamingTool:0.1.17:all
  File exists: Checksum validated.
Considering library net.minecraftforge:binarypatcher:1.0.12
  File exists: Checksum validated.
Considering library net.minecraftforge:fmlcore:1.18-38.0.4
  File exists: Checksum validated.
Considering library net.minecraftforge:fmlloader:1.18-38.0.4
  File exists: Checksum validated.
Considering library net.minecraftforge:forge:1.18-38.0.4:universal
  File exists: Checksum validated.
Considering library net.minecraftforge:installertools:1.2.10
  File exists: Checksum validated.
Considering library net.minecraftforge:jarsplitter:1.1.4
  File exists: Checksum validated.
Considering library net.minecraftforge:javafmllanguage:1.18-38.0.4
  File exists: Checksum validated.
Considering library net.minecraftforge:mclanguage:1.18-38.0.4
  File exists: Checksum validated.
Considering library net.minecraftforge:srgutils:0.4.3
  File exists: Checksum validated.
Considering library net.minecraftforge:srgutils:0.4.7
  File exists: Checksum validated.
Considering library net.sf.jopt-simple:jopt-simple:5.0.4
  File exists: Checksum validated.
Considering library net.sf.jopt-simple:jopt-simple:6.0-alpha-3
  File exists: Checksum validated.
Considering library org.apache.commons:commons-collections4:4.2
  File exists: Checksum validated.
Considering library org.apache.commons:commons-lang3:3.8.1
  File exists: Checksum validated.
Considering library org.apache.commons:commons-text:1.3
  File exists: Checksum validated.
Considering library org.checkerframework:checker-qual:2.0.0
  File exists: Checksum validated.
Considering library org.codehaus.mojo:animal-sniffer-annotations:1.14
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-analysis:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-analysis:9.2
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-commons:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-commons:9.2
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-tree:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm-tree:9.2
  File exists: Checksum validated.
Considering library org.ow2.asm:asm:9.1
  File exists: Checksum validated.
Considering library org.ow2.asm:asm:9.2
  File exists: Checksum validated.
Considering library trove:trove:1.0.2
  File exists: Checksum validated.
Created Temporary Directory: /tmp/forge_installer10859551180063758840
  Extracting: /data/client.lzma
Building Processors
===============================================================================
  MainClass: net.minecraftforge.installertools.ConsoleTool
  Classpath:
    /home/qila/.minecraft/libraries/net/minecraftforge/installertools/1.2.10/installertools-1.2.10.jar
    /home/qila/.minecraft/libraries/net/md-5/SpecialSource/1.10.0/SpecialSource-1.10.0.jar
    /home/qila/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
    /home/qila/.minecraft/libraries/com/google/code/gson/gson/2.8.7/gson-2.8.7.jar
    /home/qila/.minecraft/libraries/de/siegmar/fastcsv/2.0.0/fastcsv-2.0.0.jar
    /home/qila/.minecraft/libraries/net/minecraftforge/srgutils/0.4.3/srgutils-0.4.3.jar
    /home/qila/.minecraft/libraries/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.jar
    /home/qila/.minecraft/libraries/com/google/guava/guava/20.0/guava-20.0.jar
    /home/qila/.minecraft/libraries/com/opencsv/opencsv/4.4/opencsv-4.4.jar
    /home/qila/.minecraft/libraries/org/ow2/asm/asm-analysis/9.1/asm-analysis-9.1.jar
    /home/qila/.minecraft/libraries/org/ow2/asm/asm-tree/9.1/asm-tree-9.1.jar
    /home/qila/.minecraft/libraries/org/ow2/asm/asm/9.1/asm-9.1.jar
    /home/qila/.minecraft/libraries/org/apache/commons/commons-text/1.3/commons-text-1.3.jar
    /home/qila/.minecraft/libraries/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar
    /home/qila/.minecraft/libraries/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar
    /home/qila/.minecraft/libraries/org/apache/commons/commons-collections4/4.2/commons-collections4-4.2.jar
    /home/qila/.minecraft/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
    /home/qila/.minecraft/libraries/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
  Args: --task, MCP_DATA, --input, /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255.zip, --output, /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt, --key, mappings
Task: MCP_DATA
Input:  /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255.zip
Output: /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt
Key:    mappings
Could not delete output file: /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt
java.lang.RuntimeException: Could not delete output file: /home/qila/.minecraft/libraries/de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt
	at net.minecraftforge.installertools.Task.error(Task.java:28)
	at net.minecraftforge.installertools.McpData.process(McpData.java:63)
	at net.minecraftforge.installertools.ConsoleTool.main(ConsoleTool.java:55)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at net.minecraftforge.installer.actions.PostProcessors.process(PostProcessors.java:226)
	at net.minecraftforge.installer.actions.ClientInstall.run(ClientInstall.java:144)
	at net.minecraftforge.installer.InstallerPanel.run(InstallerPanel.java:423)
	at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:175)
	at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)

 

  • 3 years later...
Posted

Good day, I know this is years later and I hate to necropost but I ran into this exact same issue today and yours was the only one that popped up in my search. Turns out my file system permissions were all kinds of messed up in my minecraft directory. Here's how I fixed it:

1. Open terminal

2. Navigate to the .minecraft directory using the cd command, it can be helpful to have your file explorer open next to your terminal if you're a more visual person like me

3. On my OS (PopOS) the folders with messed up permissions had a padlock on them

4. Ran the command 

sudo chmod a+rwx [fileName]

I also ran 

sudo chmod 777 [fileName]

and got the same results with both. However it turns out a lot of my sub folders were messed up too which meant I had to make the changes recursively, which in plain English means all of the sub-folders under the directory. So I ended up running the command 

sudo chmod -R 777 [fileName]

which then changed all of the subfolders and files and ended up saving me a LOT of time doing it one at a time like the first two commands do.

5. After fixing permissions in the various subfolders ran the installer with the command

java -jar [latestForgeInstallerNameGoesHereWithoutSquareBrackets]

6. Installed and launched without a hitch!

Hope this helps new Linux users as for most advanced users this breakdown isn't very helpful, I'm still learning a ton myself. Additional note that might clear up future confusion, do not include [ or ] in your commands that I've listed here, I just use [ and ] in my personal notes to denote that I need to put something from the file system in the command. If yours was anything like mine all of the files from /de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt all had the wrong permissions.

-Zamorakphat

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.