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

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

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

Unread post by wongeunpark » Thu Aug 22, 2019 1:25 am

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

User avatar
igorpec
Posts: 392
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » 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
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

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

Unread post by wongeunpark » Thu Aug 22, 2019 1:52 am

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

User avatar
igorpec
Posts: 392
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » 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.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

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

Unread post by wongeunpark » Sun Aug 25, 2019 2:50 am

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

User avatar
igorpec
Posts: 392
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Sun Aug 25, 2019 3:57 pm

> 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 - follow on Twitter
linux for ARM development boards with user friendly development tools

Post Reply

Return to “N2”

Who is online

Users browsing this forum: No registered users and 1 guest