You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/07/21 06:32:17 UTC

[GitHub] [spark] zhengruifeng opened a new pull request, #37243: [TEST][DO NOT MERGE] install libfontconfig1-dev for /R/install-dev.sh

zhengruifeng opened a new pull request, #37243:
URL: https://github.com/apache/spark/pull/37243

   ### What changes were proposed in this pull request?
   install libfontconfig1-dev for /R/install-dev.sh
   
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   If benchmark tests were added, please run the benchmarks in GitHub Actions for the consistent environment, and the instructions could accord to: https://spark.apache.org/developer-tools.html#github-workflow-benchmarks.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927188394


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Reverted from master/3.3/3.2/3.1
   
   @zhengruifeng mind taking a look please?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r926970539


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Unfortunately, it seems that we are hitting another flakiness. I guess it will be resolved soon from upstream.
   ```
   Get:47 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgit2-dev amd64 0.28.4+dfsg.1-2 [691 kB]
   [98](https://github.com/apache/spark/runs/7455057445?check_suite_focus=true#step:10:99)
   E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype-dev_2.10.1-2ubuntu0.1_amd64.deb  404  Not Found [IP: 185.125.190.36 80]
   [99](https://github.com/apache/spark/runs/7455057445?check_suite_focus=true#step:10:100)
   E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6-dev_2.10.1-2ubuntu0.1_amd64.deb  404  Not Found [IP: 185.125.190.36 80]
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191404224

   @zhengruifeng Let's file a JIRA


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r926972585


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Currently, it's broken in all branches `master/3.3/3.2/3.1`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
zhengruifeng commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191436998

   we use `devtools` to specify the version of other libraries, e.g. `Rscript -e "devtools::install_version('lintr', version='2.0.1', repos='https://cloud.r-project.org')"`, but it seems that we can not control its own version.
   
   is it possbile to download the binary file https://github.com/r-lib/devtools/archive/refs/tags/v2.4.3.tar.gz , and then directly install it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
zhengruifeng commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927203388


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   is it related to network issue? or ubuntu repository?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r926970539


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Unfortunately, it seems that we are hitting another issue.
   ```
   Get:47 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgit2-dev amd64 0.28.4+dfsg.1-2 [691 kB]
   [98](https://github.com/apache/spark/runs/7455057445?check_suite_focus=true#step:10:99)
   E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype-dev_2.10.1-2ubuntu0.1_amd64.deb  404  Not Found [IP: 185.125.190.36 80]
   [99](https://github.com/apache/spark/runs/7455057445?check_suite_focus=true#step:10:100)
   E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6-dev_2.10.1-2ubuntu0.1_amd64.deb  404  Not Found [IP: 185.125.190.36 80]
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927200381


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Try to add the `apt update` before R lint deps installation.
   
   This issue might be 2 reasons.
   
   1. Remote ubuntu upstream source is unstable.
   2. Remote ubuntu source list upgrade but local source list is outdate.
   
   If reason is 2, we can add apt update to solve. I will back my PC 2 hour later sorry i couldn't have a try in time



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191427545

   Should probably move, yes. but let's get this merged first to make the tests pass


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon closed pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure
URL: https://github.com/apache/spark/pull/37243


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927205324


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   https://github.com/Yikun/spark/pull/135
   
   See this, I submit a pr from my phone, looks like apt install work as expected. ruifeng you could have a try.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927205324


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   https://github.com/Yikun/spark/pull/135
   
   See this, I submit a pr from my phone, looks like apt install work as expected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
zhengruifeng commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191163204

   the last commit only break one line into two lines, can also refer to this link https://github.com/zhengruifeng/spark/runs/7444137213?check_suite_focus=true


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191404419

   cc @Yikun too FYI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191488966

   Merged to master, branch-3.3, branch-3.2 and branch-3.1.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
zhengruifeng commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191298420

   all tests but `Run / Build modules: streaming, sql-kafka-0-10, ` passed, let me re-run this one


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on pull request #37243: [BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191422150

   By the way, do we want to move these deps (in action yaml) to [infra/Dockerfile](https://github.com/apache/spark/blob/master/dev/infra/Dockerfile)?
   
   This will make CI more stable, but the bad is difficult to detect these failure in time, and during the Dockerfile upgrade process, can be a bit of a pain. Of course, we could do full docker image refresh in short time (such as 2 weeks or 1 month) to reduce the pain.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #37243:
URL: https://github.com/apache/spark/pull/37243#issuecomment-1191430922

   @HyukjinKwon Yes, for sure, I meant I can help it in a separate PR later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] Yikun commented on a diff in pull request #37243: [SPARK-39831][BUILD] Fix R dependencies installation failure

Posted by GitBox <gi...@apache.org>.
Yikun commented on code in PR #37243:
URL: https://github.com/apache/spark/pull/37243#discussion_r927200381


##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Try to add the `apt update` before R lint deps installation.
   
   This issue might be 3 reasons.
   
   1. Remote ubuntu upstream source is unstable.
   2. Remote ubuntu source list upgrade but local source list is outdate.
   
   If reason is 2, we can add apt update to solve.



##########
.github/workflows/build_and_test.yml:
##########
@@ -552,7 +552,9 @@ jobs:
         python3.9 -m pip install 'pandas-stubs==1.2.0.53'
     - name: Install R linter dependencies and SparkR
       run: |
-        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev
+        apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \

Review Comment:
   Try to add the `apt update` before R lint deps installation.
   
   This issue might be 2 reasons.
   
   1. Remote ubuntu upstream source is unstable.
   2. Remote ubuntu source list upgrade but local source list is outdate.
   
   If reason is 2, we can add apt update to solve.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org