Groups
Groups
Sign in
Groups
Groups
Ubuntu Machine
Conversations
About
Send feedback
Help
apt-get vs. aptitude: error report
12 views
Skip to first unread message
breezeight
unread,
Mar 13, 2009, 7:02:00 AM
3/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ubuntu Machine
Hi,
on error aptitude exit with code 0 and capistrano doesn't report for
any errors.
Is it better to use apt-get instead of aptitude?
Example:
dm@ubuntu-test:~$ sudo aptitude install apache2 apache2.2-common
apache2-mpm-prefork apache2-prefork-dev apache2-utils libexpat1 ssl-
cert -y
[ ... etc ...]
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-utils
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2.2-common
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-mpm-
prefork 2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-prefork-
dev 2.2.8-1ubuntu0.3
404 Not Found
E: Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.8-1ubuntu0.3_i386.deb
:
404 Not Found
[ ... etc ... ]
dm@ubuntu-test:~$ echo $?
0
dm@ubuntu-test:~$ sudo apt-get install apache2 apache2.2-common
apache2-mpm-prefork apache2-prefork-dev apache2-utils libexpat1 ssl-
cert -y
[ ... etc ...]
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-utils
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2.2-common
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-mpm-
prefork 2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2
2.2.8-1ubuntu0.3
404 Not Found
Err
http://it.archive.ubuntu.com
hardy-updates/main apache2-prefork-
dev 2.2.8-1ubuntu0.3
404 Not Found
Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.8-1ubuntu0.3_i386.deb
404 Not Found
Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.8-1ubuntu0.3_i386.deb
404 Not Found
Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-prefork_2.2.8-1ubuntu0.3_i386.deb
404 Not Found
Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.8-1ubuntu0.3_all.deb
404 Not Found
Failed to fetch
http://it.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-prefork-dev_2.2.8-1ubuntu0.3_i386.deb
404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
dm@ubuntu-test:~$ echo $?
100
Nicola
Thomas Balthazar
unread,
Mar 15, 2009, 2:39:59 PM
3/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ubuntu-...@googlegroups.com
Hello Nicola,
It looks like it's a good idea.
I created a LH ticket here :
http://suitmymind.lighthouseapp.com/projects/22483-ubuntu-machine/tickets/15-apt-get-vs-aptitude-error-report
And I'm working on it.
Best,
Thomas Balthazar
http://suitmymind.com
http://cappuccinocasts.com
Thomas Balthazar
unread,
Mar 18, 2009, 9:29:14 AM
3/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ubuntu-...@googlegroups.com
Hello,
This has been changed :
http://bit.ly/xwUa
Thomas Balthazar
http://suitmymind.com
http://cappuccinocasts.com
Reply all
Reply to author
Forward
0 new messages