[ask] E:Sub-process /usr/bin/dpkg returned error 1

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
saidbzzz
Posts: 53
Joined: 03 Oct 2012, 09:38
Location: Bangka Belitung, Indonesia

[ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby saidbzzz » 27 Aug 2013, 08:25

selamat pagi teman2 FUI,
kenapa pada saat mau install snmpd muncul tulisan kyk gini :

/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error processing snmpd (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

maksudnya apa ya ?? mohon pencerahan dari teman2 semua.

kind regards
Said
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby offline » 27 Aug 2013, 15:50

coba dikasih command

Code: Select all

sudo apt-get autoremove
sudo apt-get autoclean

lalu update pakcagesnya
User avatar
saidbzzz
Posts: 53
Joined: 03 Oct 2012, 09:38
Location: Bangka Belitung, Indonesia

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby saidbzzz » 28 Aug 2013, 16:57

oke mas, saya akan coba,, thnks,,
User avatar
try2face
Posts: 24
Joined: 16 Oct 2011, 12:05
Location: Tangerang Selatan
Contact:

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby try2face » 04 Sep 2013, 17:11

Root@bt:~# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up se-toolkit (4.2.1-bt0) ...
svn: Server sent unexpected return value (504 Gateway Time-out) in response to OPTIONS request for 'http://svn.trustedsec.com/social_engineering_toolkit'
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up w3af (1.2-bt2) ...
tar: pybloomfiltermmap-0.2.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
svn: Repository moved permanently to 'https://svn.code.sf.net/p/w3af/code/trunk'; please relocate
dpkg: error processing w3af (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)



Kalo begini, permasalahannya dimana yah mas, saya pake cara diatas belum solved, ada yang bisa bantu ?
User avatar
saidbzzz
Posts: 53
Joined: 03 Oct 2012, 09:38
Location: Bangka Belitung, Indonesia

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby saidbzzz » 05 Sep 2013, 07:47

sama mas, saya juga belum solved. Masih mencari cara untuk mengatasinya..
User avatar
Seruling
Posts: 266
Joined: 31 May 2013, 14:00
Location: Yogyakarta, Indonesia

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby Seruling » 05 Sep 2013, 09:24

saidbzzz wrote:/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
invoke-rc.d: initscript snmpd, action "start" failed.


Jenis error seperti itu biasanya disebabkan install package dari "Source", bukan dalam bentuk ".deb"

Cobalah cari package yang dikemas bukan dalam bentuk source namun dalam bentuk lain yang memungkinkan untuk di install lewat apt-get.
User avatar
saidbzzz
Posts: 53
Joined: 03 Oct 2012, 09:38
Location: Bangka Belitung, Indonesia

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby saidbzzz » 05 Sep 2013, 13:59

oke mas Seruling, ntar saya coba lagi,,
tapi sebenarnya kalo kyk gtu ngaruh ngak sih ke O.S kita sendiri ??
misalnya bisa menyebabkan crash dalam O.S dan lainnya,
maklum masih newbie ini,, :D
User avatar
Seruling
Posts: 266
Joined: 31 May 2013, 14:00
Location: Yogyakarta, Indonesia

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby Seruling » 05 Sep 2013, 15:31

Kalau pengaruh ke OS, ya pasti pengaruh, terutama saat installnya berhasil. Misalnya boot sedikit lebih lama (karena harus nge-start service, jalankan autorun, dsb).
Kalau gagal install, setau saya tidak ada masalah sama OS. Kecuali gagal saat menginstall linux kernel (namun itu tetap bisa beres cukup dengan mengakali GRUB).

Di samping itu, sesekali jalankan "Software Updater", sebab program tersebut juga secara otomatis membersihkan sampah-sampah gagal install yang pernah kita alami di masa-masa lalu.
User avatar
nif
Posts: 2817
Joined: 31 Mar 2011, 07:48

Re: [ask] E:Sub-process /usr/bin/dpkg returned error 1

Postby nif » 05 Sep 2013, 16:17

coba nambahin,

@try2face :
itu karena palet yang diinstall berusaha untuk download konten di alamat http://svn.trustedsec.com/social_engineering_toolkit (entah apa ini :confused:), tapi gagal (504 Gateway Time-out)

@saidbzzz :
saidbzzz wrote:/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
invoke-rc.d: initscript snmpd, action "start" failed.

sepertinya itu bug;
https://bugs.launchpad.net/ubuntu/+sour ... ug/1091624
coba cari paket versi lain (update dulu, atau cari ppa kalo ada).

cmiiw

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 2 guests