歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu沒有設置軟件源會出現一些問題

Ubuntu沒有設置軟件源會出現一些問題

日期:2017/2/28 17:07:46   编辑:Linux教程

在Ubuntu中,如果沒有設置軟件源,make會出現類似以下情況:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Install these packages without verification [y/N]?
E: Some packages could not be authenticated
E: Failed to process build dependencies
至此停止

另一個例子:
a52 make 的錯誤
gcc -shared bitstream.lo imdct.lo bit_allocate.lo parse.lo downmix.lo -lm -Wl,-soname -Wl,liba52.so.0 -o .libs/liba52.so.0.0.0
/usr/bin/ld: bitstream.lo: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
bitstream.lo: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [liba52.la] Error 1
make[1]: Leaving directory `/home/a52dec-0.7.4/liba52'
make: *** [all-recursive] Error 1
至此就停止了。

所以,一定要設置哦!

Copyright © Linux教程網 All Rights Reserved