Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am currently running Ubuntu 12.04 64 bit.

Running apt-get update && apt-get upgrade starts the updating and upgrading procedure.

I was wondering ,Since i have installed 64 bit amd64 system then why does the command checks even the 32 bit i386 Repositories

Get:14 http://ppa.launchpad.net precise/main amd64 Packages [658 B]                                                                                            
Get:15 http://ppa.launchpad.net precise/main i386 Packages [658 B]

This is common for almost all the official Ubuntu repositories.

Are they mandatory required for update process or can they be removed if not required by the installed architecture at all.

share|improve this question
1  
Do you have any i386 packages installed (you might be surprised...)? Certain applications on an amd64 system are either 32 bit themselves (no 64-bit alternative) or require 32 bit libraries (ehh... speculating but maybe for a development environment or running 32bit Wine applications, etc.). In either of these cases apt would check the i386 repositories to look for updates for these packages. –  adempewolff May 24 '12 at 9:11
    
similar if not a duplicate? askubuntu.com/questions/66875/how-to-disable-multiarch-support/… –  fossfreedom May 24 '12 at 9:27
    
@fossfreedom: similar, but not a dupe IMO. Can you just copy/paste your above answer here instead of linking considering it's short and sweet? –  izx May 24 '12 at 12:12
add comment

1 Answer 1

up vote 2 down vote accepted

It is very useful to have both architectures in your repository list for the simple reason in that where you have a 32bit only application, it will install correctly.

Where you have both a 64bit and 32bit package in a PPA, then the 64bit app will automatically install.

However, you can install the 32bit if you wish by appending :i386 against the package - thus

sudo apt-get install [foo-package]:i386

If you dont want the 32bit repo's then you can disable this using the linked Q&A.


Linked Question:

  1. How to disable multiarch support?
share|improve this answer
    
Thanks , it will also help in reducing the Update and Upgrade time . I just hope all the dependencies and Libraries are also retained for 64 version. –  atenz May 24 '12 at 13:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.