Linaqruf / kohya-trainer

Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning
Apache License 2.0
1.83k stars 300 forks source link

aria2c: error while loading shared libraries #254

Open PsySpyGaming opened 1 year ago

PsySpyGaming commented 1 year ago

image This error comes up.. looking higher in the list, looks like some dependencies are straight up missing now. Started sometime after 10AM CST because I was able to get a working version up and running before that.

Unpacking lz4 (1.9.2-2ubuntu0.20.04.1) ... dpkg: dependency problems prevent configuration of libaria2-0:amd64: libaria2-0:amd64 depends on libnettle7; however: Package libnettle7 is not installed.

dpkg: error processing package libaria2-0:amd64 (--install): dependency problems - leaving unconfigured Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... Setting up libtcmalloc-minimal4 (2.5-2.2ubuntu3) ... dpkg: dependency problems prevent configuration of lz4: lz4 depends on liblz4-1 (= 1.9.2-2ubuntu0.20.04.1); however: Version of liblz4-1:amd64 on system is 1.9.3-2build2.

dpkg: error processing package lz4 (--install): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of aria2: aria2 depends on libaria2-0 (>= 1.35.0); however: Package libaria2-0:amd64 is not configured yet.

dpkg: error processing package aria2 (--install): dependency problems - leaving unconfigured Setting up libgoogle-perftools4 (2.5-2.2ubuntu3) ... Setting up libgoogle-perftools-dev (2.5-2.2ubuntu3) ... dpkg: dependency problems prevent configuration of liblz4-tool: liblz4-tool depends on lz4; however: Package lz4 is not configured yet.

dpkg: error processing package liblz4-tool (--install): dependency problems - leaving unconfigured Setting up google-perftools (2.5-2.2ubuntu3) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... Errors were encountered while processing: libaria2-0:amd64 lz4 aria2 liblz4-tool

Part1Log.txt

DanskilyX commented 1 year ago

I'm facing the same issue! It was working fine few hours ago. @Linaqruf savior where are you

profcat2 commented 1 year ago

I'm reporting the same issue too

havocweer commented 1 year ago

Adding: !apt --fix-broken install !apt-get install aria2 by install dependancies section seems to have solved the problem for me.

====================================== install_dependencies() time.sleep(3) !apt --fix-broken install # add here
!apt-get install aria2

remove_bitsandbytes_message(bitsandytes_main_py)

#os.environ["LD_PRELOAD"] = "libtcmalloc.so"      commented out for BLIP to work ?
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
os.environ["BITSANDBYTES_NOWELCOME"] = "1"  
os.environ["SAFETENSORS_FAST_GPU"] = "1"
Linaqruf commented 1 year ago

please try again, i pushed the fix

DanskilyX commented 1 year ago

Thanks a lot💙

khaledadrani commented 1 year ago

Any updates regarding this issue? The workaround worked for me:

os.environ["LD_PRELOAD"] = "libtcmalloc.so"

and

!apt --fix-broken install
!apt-get install aria2
PsySpyGaming commented 1 year ago

Any updates regarding this issue? The workaround worked for me: #os.environ["LD_PRELOAD"] = "libtcmalloc.so" and

!apt --fix-broken install
!apt-get install aria2

It was fixed the same day, as far as I can tell it's currently working.