armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post Reply
wongeunpark
Posts: 36
Joined: Mon Aug 05, 2019 11:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by wongeunpark »

armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.
무슨 문제가 있는걸까요..
다른부분은 대부분 마음에 드는데..
패키지 서칭을 돌리면 보통 10분 20분이 걸리는군요...

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by igorpec »

https://forum.armbian.com/topic/7422-te ... rformance/
This problem?

Solution is to remove or comment /etc/apt/apt.conf.d/02-armbian-compress-indexes
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

wongeunpark
Posts: 36
Joined: Mon Aug 05, 2019 11:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by wongeunpark »

igorpec wrote:
Thu Aug 22, 2019 1:33 am
https://forum.armbian.com/topic/7422-te ... rformance/
This problem?

Solution is to remove or comment /etc/apt/apt.conf.d/02-armbian-compress-indexes
I deleted it, but it's still slow and there's an apt update problem. TT

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by igorpec »

wongeunpark wrote:
Thu Aug 22, 2019 1:52 am
I deleted it, but it's still slow and there's an apt update problem. TT
https://github.com/armbian/build/commit ... 2debbaec39
This is proper solution - tested right now.

You only need to do this:

Code: Select all

apt install apt-xapian-index
Then monitor with htop or ps that this script finished - check with:

Code: Select all

/usr/sbin/update-apt-xapian-index --update -v
Then it runs in full speed.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

wongeunpark
Posts: 36
Joined: Mon Aug 05, 2019 11:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by wongeunpark »

igorpec wrote:
Thu Aug 22, 2019 3:59 am
wongeunpark wrote:
Thu Aug 22, 2019 1:52 am
I deleted it, but it's still slow and there's an apt update problem. TT
https://github.com/armbian/build/commit ... 2debbaec39
This is proper solution - tested right now.

You only need to do this:

Code: Select all

apt install apt-xapian-index
Then monitor with htop or ps that this script finished - check with:

Code: Select all

/usr/sbin/update-apt-xapian-index --update -v
Then it runs in full speed.
apt search is still slow. TT

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: armbian 버스터 서버 버전에서 apt search 속도가 너무 느립니다.

Post by igorpec »

> apt search is still slow.

First time you need to wait 10+ minutes that index is done ... perhaps reboot is also needed?

For me speed increase was huge. Now it searches instant. (tested with synaptic in desktop)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Post Reply

Return to “N2/N2+”

Who is online

Users browsing this forum: No registered users and 1 guest